You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/12/04 21:26:21 UTC

[jira] Assigned: (AXIS2-1788) Axis2 fails to handler SOAP 1.2 request when REST enable

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

Deepal Jayasinghe reassigned AXIS2-1788:
----------------------------------------

    Assignee: Deepal Jayasinghe

> 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