Hi,<br> I need to be able to send variable names when sending requests to a SOAP server. Currently SOAPpy sends my variables automatically named as v1, v2, v3. The server requires they have a name varNameA, varNameB etc.<br>
Here is my outgoing SOAP and code.<br><br>wsdlFile = &quot;<a href="http://webapi.allegro.pl/uploader.php?wsdl">http://webapi.allegro.pl/uploader.php?wsdl</a>&quot;<br>server = WSDL.Proxy(wsdlFile)<br>server.doGetCountries(1, h23dk99sd)<br>
<br><br>*** Outgoing SOAP ******************************************************<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&quot;<a href="http://schemas.xmlsoap.org/soap/encoding/">http://schemas.xmlsoap.org/soap/encoding/</a>&quot; xmlns:SOAP-ENC=&quot;<a href="http://schemas.xmlsoap.org/soap/encoding/">http://schemas.xmlsoap.org/soap/encoding/</a>&quot; xmlns:xsi=&quot;<a href="http://www.w3.org/1999/XMLSchema-instance">http://www.w3.org/1999/XMLSchema-instance</a>&quot; xmlns:SOAP-ENV=&quot;<a href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>&quot; xmlns:xsd=&quot;<a href="http://www.w3.org/1999/XMLSchema">http://www.w3.org/1999/XMLSchema</a>&quot;&gt;<br>
&lt;SOAP-ENV:Body&gt;<br>&lt;ns1:doGetCountries xmlns:ns1=&quot;urn:AllegroWebApi&quot; SOAP-ENC:root=&quot;1&quot;&gt;<br>&lt;v1 xsi:type=&quot;xsd:int&quot;&gt;1&lt;/v1&gt;<br>&lt;v2 xsi:type=&quot;xsd:string&quot;&gt;h23dk99sd&lt;/v2&gt;<br>
&lt;/ns1:doGetCountries&gt;<br>&lt;/SOAP-ENV:Body&gt;<br>&lt;/SOAP-ENV:Envelope&gt;<br>************************************************************************<br><br>This is what the variable area should look like:<br>&lt;country-code xsi:type=&quot;xsd:int&quot;&gt;1&lt;/country-code&gt;<br>
&lt;webapi-key xsi:type=&quot;xsd:string&quot;&gt;h23dk99sd&lt;/webapi-key&gt;<br><br>How do i accomplish this? (Wrapping it in a dictionary only sends the dictionary as v1)<br><br>Thank you!<br>