RE: Re: xml-rpc and WSDL - progress report

"Gaetano Giunta" <[email protected]>
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
1) Human readable docs:

in a little code frenzy, I whipped up a 200-loc xmlrpc server class that generates HTML-formatted human-readable docs out of the available xmlrpc methods.
It is implemented as subclass of the std php-xmlrpc xmlrpc_server class, and is avaiable in a separate module in the sf.net phpxmlrpc CVS.

Many thanks to the XINS project for (unknowingly) providing me the CSS file for the looks, and the desire to do it.

2) WSDL:

XSD looks like a no-go, for its intrinsic limitations in expressing xmlrpc syntax :[

Otoh, a relax-NG schema, kindly provided by Stephane Bortzmeyer, looks like it could be the key to unlock the treasure chest: it is, afaict, 99% correct in describing xmlrpc, with a very limited set of false positives (valid charset range is not yet implemented on method names) and false negatives (for fault responses, fault code MUST come before fault string).

I put up all of the files on http://phpxmlrpc.sourceforge.net/wsdl/

I also tried (to my best) to create an example WSDL file for an xmlrpc service (also available on sf.net):
- It uses wsdl 2.0 syntax, which is theoretically more friendly to relax-ng syntax (there are spcific reasons I am not versed enough in xml intricacies to comment upon)
- It uses the xsd file instead of the relax-ng one for defining message elements (but a modified version will be online soon)
- It uses the wsdl standard HTTP binding, because it looked flexible enough to me. Of course, we could discuss a new 'standard' xmlrpc binding, if anyone expressed his desire for it...

Bye
Gaetano

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]]On Behalf
> Of Ernst de Haan
> Sent: Tuesday, November 29, 2005 9:19 PM
> To: [email protected]
> Subject: Re: [xml-rpc] Re: xml-rpc and WSDL
> 
> 
> Our open-source technology XINS takes a slightly different approach,
> taking a simple XML-based input format and then converting that to
> WSDL, supporting both XML-RPC and SOAP at run-time, along with REST
> and XSLT processing :-)
> 
> Perhaps also worth some research:
> http://xins.sourceforge.net/primer.html
> 
> Regards,
> 
> 
> Ernst
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.