[Soap-Python] Contect-Type encoding

Burak Arslan burak.arslan at arskom.com.tr
Thu Jul 29 11:16:07 CEST 2010


On 07/29/10 11:26, Luca Dariz wrote:
>> if you can share a small ruby snippet that demonstrates the problem
>> against the interopd.py, that'd be much better btw.
>>
>> thanks.
>> burak
>
> Hello burak, thanks for the quick answer.

Hello Luca,

Thanks a lot for taking the time to provide a test case. I was correct
in my earlier guess, and I fixed the bug. It got in the newest
0.9.0-alpha4 release.

note that the ruby client can't get through validation. the namespace of
the s tag is not correct.

best,
burak


ruby rpc:
=======
<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Body>
    <n1:echo_string xmlns:n1="InteropService.InteropService"
        env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <s xsi:type="xsd:string">OK</s>
    </n1:echo_string>
  </env:Body>
</env:Envelope>

suds:
=======
<SOAP-ENV:Envelope xmlns:ns0="InteropService.InteropService"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <ns0:echo_string>
         <ns0:s>OK</ns0:s>
      </ns0:echo_string>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>




More information about the Soap mailing list