[ http://issues.apache.org/jira/browse/AXIS2-112?page=all ]

Eran Chinthaka updated AXIS2-112:
---------------------------------

    Fix Version:     (was: 0.91)

This problem is out of control from Axis2 and needs to be done with interop. 
I'm satisfied with the fix from our side for this by Chathura so far. So 
removing this from the release and Chathura has already made this a minor issue.

> Doclitparams Interoperability Test failed
> -----------------------------------------
>
>          Key: AXIS2-112
>          URL: http://issues.apache.org/jira/browse/AXIS2-112
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>     Versions: 0.9
>  Environment: Windows XP
> j2sdk1.4.2_01
>     Reporter: Nadana Gunaratna
>     Priority: Minor

>
> Service Info:
> WSDL Location:http://soapinterop.java.sun.com/round3/groupd/doclitparams?WSDL
> Service Location: 
> http://soapinterop.java.sun.com:80/round3/groupd/doclitparams
> For more Information:
> http://soapinterop.java.sun.com
> The Request SOAP was produced using the generated stubs (using WSDL2Java). A 
> SOAP fault was received as the response.
> Request SOAP Message as displayed in theTCP monitor:
> POST /round3/groupd/doclitparams HTTP/1.1
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> Host: soapinterop.java.sun.com 
> Cache-Control: no-cache
> Pragma: no-cache
> Content-Length: 236
> SOAPAction: "http://soapinterop.org/";
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>    <soapenv:Header></soapenv:Header>
>    <soapenv:Body>
>       <echoString xmlns="http://soapinterop.org/xsd";>
>          <param0>hi</param0>
>       </echoString>
>    </soapenv:Body></soapenv:Envelope>
> Response SOAP Message:
> HTTP/1.1 500 Internal Server Error 
> SOAPAction: "" 
> Content-Type: text/xml; charset="utf-8" 
> Transfer-Encoding: chunked 
> Date: Sat, 30 Jul 2005 04:41:46 GMT 
> Server: Apache Coyote/1.0 
>  
> 21e 
> <?xml version="1.0" encoding="UTF-8"?>
>    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; 
> xmlns:ns0="http://soapinterop.org/xsd";>
>       <env:Body>
>          <env:Fault>
>             <faultcode>env:Client</faultcode>
>             <faultstring>caught exception while handling request: unexpected 
> element name: expected=param0, 
> actual={http://soapinterop.org/xsd}param0</faultstring>
>          </env:Fault>
>       </env:Body>
>    </env:Envelope>
> 0 
>  
> Then the SOAP message was modified as follows, i.e. the first child of the 
> body was pre-fixed with the local name of the namespace, and resent from the 
> TCP Monitor, Request SOAP Message accepted as correct and received Response 
> as follows.
> Request SOAP Message:
> POST /round3/groupd/doclitparams HTTP/1.1
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> Host: soapinterop.java.sun.com 
> Cache-Control: no-cache
> Pragma: no-cache
> Content-Length: 590
> SOAPAction: "http://soapinterop.org/";
> <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"; 
> xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; 
> xmlns:ns0="http://soapinterop.org/xsd";>               
>    <soapenv:Header></soapenv:Header>               
>    <soapenv:Body>                              
>       <x:echoString xmlns:x="http://soapinterop.org/xsd";>                     
>                         
>          <param0>hi</param0>                              
>       </x:echoString>               
>    </soapenv:Body></soapenv:Envelope>
>  
> Response SOAP Message:
> HTTP/1.1 200 OK 
> SOAPAction: "" 
> Content-Type: text/xml; charset="utf-8" 
> Transfer-Encoding: chunked 
> Date: Sat, 30 Jul 2005 06:29:45 GMT 
> Server: Apache Coyote/1.0 
>  
> 193 
> <?xml version="1.0" encoding="UTF-8"?>
>    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; 
> xmlns:ns0="http://soapinterop.org/xsd";>
>       <env:Body>
>          <ns0:echoStringResponse>
>             <return>hi</return>
>          </ns0:echoStringResponse>
>       </env:Body>
>    </env:Envelope> 
> 0 
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to