[Soap-Python] rpclib: anydict as a parameter question

Burak Arslan burak.arslan at arskom.com.tr
Thu May 31 11:15:48 CEST 2012


On 05/31/12 11:52, Dennis Fischer wrote:
> Ok, but how can I change that? As you can see, I'm not changing any 
> rpclib code and the wsdl file is automaticly generated
>

It's not rpclib's fault, you're sending it invalid xml (as it clearly 
states). You should have a look at suds' documentation to figure out how 
to add namespace prefix definition to your request document.

burak

> Am 31.05.2012 10:45, schrieb Burak Arslan:
>> On 05/31/12 11:25, Dennis Fischer wrote:
>>> [Thu May 31 10:12:03 2012] [error] 
>>> <faultcode>senv:Client.XMLSyntaxError</faultcode>
>>> [Thu May 31 10:12:03 2012] [error] <faultstring>Namespace prefix xs 
>>> on user is not defined, line 6, column 21</faultstring> 
>>
>> you have:
>> <xs:user>abc</xs:user>
>>
>> you should have:
>> <xs:user xmlns:xs="something">abc</xs:user>
>>
>> burak



More information about the Soap mailing list