Sending XML to a WEB Service and Getting Response Back

John Nagle nagle at animats.com
Tue Dec 21 01:34:28 EST 2010


On 12/20/2010 12:14 PM, Hidura wrote:
> I recommend you use the urllib.request in the library of python says
> everything that you want to know.
>
> 2010/12/20, Anurag Chourasia<anurag.chourasia at gmail.com>:
>> Dear Python Mates,
>>
>> I have a requirement to send a XML Data to a WEB Service whose URL is of the
>> form http://joule:8041/DteEnLinea/ws/EnvioGuia.jws
>>
>> I also have to read back the response returned as a result of sending this
>> data to this WebService.
>>
>> This web service implements the following operations:
>>     sendNCR
>>
>> This web service has no callbacks.
>>
>> I have pasted the complete WSDL for this WEB Service below my email.
>>
>> I would appreciate if someone could guide me with sample code using a Python
>> Library suitable to fulfill this requirement of mine.
>>
>> Regards,
>> Anurag

    If you're writing the client side, the service talks SOAP, and
you have a WSDL file, use the "suds" module.

    SOAPpy is way out of date.  The last update on SourceForge was in
2001.

				John Nagle



More information about the Python-list mailing list