Hi Wolfgang,

The real reason I got rid of wsdlparse was because it did things the java way -- it generated code. That's a fundamentally wrong approach when you're working with Python because, by the virtue of being a dynamic language, Python can parse wsdl and build required classes and interfaces on the fly.

I also wanted to focus on making soaplib a proper soap server, because that's what was lacking then in the Python world. (There even was a time i'd entirely dumped client functionality in favor of suds.) Oh and wsdlparse did not work most of the time anyway.

If suds wasn't already there, we'd probably have wsdl parsing in rpclib by now. (I already have a javascript soap client which also parses wsdl, here: http://github.com/arskom/qxsoap) But I did not think duplicating suds' functionality in rpclib would benefit anybody, so I didn't do it.

I'd nevertheless encourage you to work on a wsdl parser for rpclib, because i feel it'd have a greater benefit outside of the SOAP world -- I've stumbled upon a few people in the lxml mailing list who might be interested working on an Xml Schema parser. They might want to give you a hand if you ask around.

FWIW, I don't think you can easily adapt suds' wsdl parser to rpclib.

Best,
Burak


On 01/05/12 00:07, Wolfgang Sourdeau wrote:
Hi everyone,


I know the subject of WSDL parsing has come up many times in the past but something bothers me after some research I did today among the multiple forks of soaplib...

These links:
https://github.com/cuker/soaplib/commit/85bed2c98693451bcc2537f9e895d573ff7ece7b#diff-7
https://github.com/soaplib/soaplib/tree/0_8/soaplib/parsers (which seems to be related to the previous)

... show a script named " wsdlparse.py <https://github.com/soaplib/soaplib/blob/0_8/soaplib/parsers/wsdlparse.py>" which obviously aims at providing the famous WSDL-based services.

Since rpclib, as I understand it, is the official successor of soaplib, how come this script has not been included (or was erased) between soaplib 0.8/1.0/2.0 and rpclib... Would it be possible to adapt it and reinclude it for a next release, or would this be complicated? Has this been considered?

Thank you!


Wolfgang



_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to