ProHzen / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

Wrong namespaces for header and encoding for SOAP 1.2 #68

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Try calling a SOAP 1.2 webservice. You will get a version mismatch fault like 

<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
              xmlns:xml="http://www.w3.org/XML/1998/namespace">
 <env:Header>
  <env:Upgrade>
   <env:SupportedEnvelope qname="ns1:Envelope" 
             xmlns:ns1="http://www.w3.org/2003/05/soap-envelope"/>
   <env:SupportedEnvelope qname="ns2:Envelope" 
             xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/"/>
  </env:Upgrade>
 </env:Header>
 <env:Body>
  <env:Fault>
   <env:Code><env:Value>env:VersionMismatch</env:Value></env:Code>
    <env:Reason>
      <env:Text xml:lang="en">Version Mismatch</env:Text>
    </env:Reason>
   </env:Fault>
 </env:Body>
</env:Envelope>

Fix is provided via pull request on github

Original issue reported on code.google.com by pet...@everichon.com on 6 Jul 2011 at 10:35

GoogleCodeExporter commented 8 years ago
Pull request merged.

Original comment by mosa...@gmail.com on 6 Jul 2011 at 10:47

GoogleCodeExporter commented 8 years ago
will be out with 2.5.7

Original comment by mosa...@gmail.com on 6 Jul 2011 at 10:57

GoogleCodeExporter commented 8 years ago

Original comment by mosa...@gmail.com on 6 Jul 2011 at 10:58