Hello 
We want to use the new recommendation SOAP 1.2 within our applications.
I've installed the latest AXIS library version 1.2RC1. When we use the samples with this library our application send the wrong format of the SOAP message.
We use the library together with JBoss-3.2.6. Is there a possibility to switch the SOAP 1.1 engine to SOAP 1.2 engine. I can't find any documentation about this.
In the next example I used the stock application from the samples directory. I tried to generate a SOAP 1.2 specific result to force a failure in the calling request. 
In the server-config.wsdd  the following parameter is set :
 
<GlobalConfiguration>
        <parameter name="SingleSOAPVersion" value="1.2"/>
</GlobalConfiguration>
 
The next response is what I see in TCPMON. 
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.Unauthenticated</faultcode>
         <faultstring>User 'null' not authenticated (unknown user)</faultstring>
         <detail>
            <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">PTAMF139</ns2:hostname>
         </detail>
      </soapenv:Fault>
   </soapenv:Body></soapenv:Envelope>
 
But I expected something like: 
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <soapenv:Fault>
                 <soapenv:Code>
                         <soapenv:Value>soapenv:Sender</soapenv:Value>
                         <soapenv:Subcode>
                               <soapenv:Value>Unauthenticated</soapenv:Value>
                         </soapenv:Subcode>
                 </soapenv:Code>
                 <soapenv:Reason>
                         <soapenv:Text xml:lan="en-US">User 'null' not authenticated (unknown user)</soapenv:Text>
                 </soapenv:Reason>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>
 
Has someone a good solutions for this problem.
Best regards
Dirk Joosen

 

 

Met Vriendelijke Groet,

 

Dirk Joosen

Postbus 28129

3828 ZJ Amersfoort / Groningen

Tel:  030-6588500

Fax: 033-4513101

E-mail: [EMAIL PROTECTED]

 

Reply via email to