Hi ,
My current SOAP request sent via suds.client looks like this:
<SOAP-ENV:Envelope (some name space URIs)>
<SOAP-ENV:Header />
<SOAP-ENV:Body>
<ns5:saveModule>
<request xsi:type="ns3:SaveModule">
<Module xsi:type="ns4:Module">
<ModuleName xsi:type="ns1:string">Test</ModuleName>
</Module>
</request>
</ns5:saveModule>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This request fails on my server. If i take the same XML request and massage it
and send it visa SOAPUI, it works fine. What I did was
<soapenv:Envelope (some name space URIs)>
<soapenv:Header />
<soapenv:Body>
<saveModule>
<request>
<Module>
<ModuleName>Test</ModuleName>
</Module>
</request>
</saveModule>
</soapenv:Body>
</soapenv:Envelope>
As you see, I had to change SOAP-ENV to soapenv, modify node ns5:saveModule to
saveModule and also remove attributes such xsi:type to other child nodes
How can I , modify the request in above manner using suds.client. Documentation
suggests to use a plugin with Client using marshalled method. But I was
unsuccessful
Any help is greatly appreciated
Regards,
SD
--
http://mail.python.org/mailman/listinfo/python-list