axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-1788) Axis2 fails to handler SOAP 1.2 request when REST enable
Date Thu, 21 Dec 2006 15:41:21 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1788?page=all ]

Thilina Gunarathne resolved AXIS2-1788.
---------------------------------------

    Resolution: Fixed

Fixed
http://svn.apache.org/viewvc?view=rev&rev=489382

> Axis2 fails to handler SOAP 1.2 request when REST enable
> --------------------------------------------------------
>
>                 Key: AXIS2-1788
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1788
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Deepal Jayasinghe
>         Assigned To: Deepal Jayasinghe
>
> When sending following request with setting  following parameter 
>  <parameter name="enableRESTInAxis2MainServlet" locked="true">true</parameter>
> got SOAP fault , and I found the issue is due to problem in AxisServlet line 540.
> POST /axis2/services/FirstService HTTP/1.1
> User-Agent: Axis2
> Host: localhost:8000
> Transfer-Encoding: chunked
> Content-Type: application/soap+xml; charset=UTF-8;action="urn:weekdayOfDate";
> 14a
> <?xml version='1.0' encoding='UTF-8'?>
>    <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
>       <soapenv:Header />
>       <soapenv:Body>
>          <ns1:weekdayOfDate xmlns:ns1="http://pojo/xsd">
>             <ns1:year>2006</ns1:year>
>             <ns1:month>11</ns1:month>
>             <ns1:dayOfMonth>29</ns1:dayOfMonth>
>          </ns1:weekdayOfDate>
>       </soapenv:Body>
>    </soapenv:Envelope>0
> ==== Response ====
> HTTP/1.1 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=UTF-8
> Transfer-Encoding: chunked
> Date: Wed, 29 Nov 2006 11:19:02 GMT
> Connection: close
> 335
> <?xml version='1.0' encoding='UTF-8'?>
>    <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>       <soapenv:Header>
>          <wsa:ReplyTo>
>             <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address>
>          </wsa:ReplyTo>
>          <wsa:MessageID>urn:uuid:52E50C5E42695616EA11647991428604</wsa:MessageID>
>          <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
>       </soapenv:Header>
>       <soapenv:Body>
>          <soapenv:Fault>
>             <faultcode></faultcode>
>             <faultstring>Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n
multipart/related; nested exception is: 	org.apache.axis2.AxisFault: Content type should be
one of /n text/xml/n application/x-www-form-urlencoded/n multipart/related</faultstring>
>             <detail />
>          </soapenv:Fault>
>       </soapenv:Body>
>    </soapenv:Envelope>

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message