Question about SOAP 1.1 and SOAP 1.2

Eric Borisow <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Hi,

I am trying to create a server-side web service using Axis2 (and Spring).  Everything is operating correctly.  The one problem is that the response is getting returned in SOAP 1.2 format, but in order for this client to connect, they only support 1.1.  So, I've tried disabling SOAP 1.2 in an axis2.xml file.  But, when I do that, the result is returned without a SOAP Envelope and Body which is required for parsing.

Here is the request:
POST /myapp/services/DocSample HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: "urn:dotnet.callouttest.soap.sforce.com/EchoString"
User-Agent: Axis2
Host: localhost:81
Transfer-Encoding: chunked

116
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body>
         <ns1:EchoString xmlns:ns1="http://doc.sample.com/docSample">
            <ns1:input>Hello world</ns1:input>
         </ns1:EchoString>
      </soapenv:Body>
   </soapenv:Envelope>0

And, here is the response:
HTTP/1.1 200 OK
Content-Type: application/xml; charset=UTF-8
Transfer-Encoding: chunked
Server: Jetty(6.1.25)

9A
<ns1:EchoStringResponse xmlns:ns1="http://doc.sample.com/docSample">
   <ns1:EchoStringResult>Hello world</ns1:EchoStringResult></ns1:EchoStringResponse>
0

Thanks in advance for any help.

Regards,
Eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.