cornettp21
May 14, 2013 - 00:05
I need help.
Do you have some code examples to call web services from Pythonsia?
Regards,
Philippe
I need help.
Do you have some code examples to call web services from Pythonsia?
Regards,
Philippe
You might check out "suds" docs and examples at https://fedorahosted.org/suds
If that looks like it will work for you, then check out http://omz-software.com/pythonista/forums/discussion/253/suds-on-pythonista/p1 which focuses on loading "suds" into Pythonista. Let us know if this is what you needed.
My pipista script makes use of the built-in xmlrpclib to query PyPi for packages:
https://gist.github.com/pudquick/4317095#file-pipista-py-L85
http://wiki.python.org/moin/PyPIXmlRpc?action=show&redirect=PyPiXmlRpc
http://en.wikipedia.org/wiki/XML-RPC
If you're working with WSDL/SOAP specifically, though, suds is definitely the way to go.