[
https://issues.apache.org/jira/browse/AXIS2-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540397#comment-13540397
]
Sagara Gunathunga commented on AXIS2-5472:
-------------------------------------------
According to [1] it's better to support this option.
R1112 An INSTANCE SHOULD use either a "200 OK" or "202 Accepted" HTTP status
code for a response message that does not contain a SOAP envelope but indicates
the successful outcome of a HTTP Request. HTTP-TRANSPORT TESTABLE BP1101
Despite the fact that the HTTP 1.1 assigns different meanings to response
status codes "200" and "202", in the context of the Profile they should be
considered equivalent by the initiator of the request. The Profile accepts both
status codes because some SOAP implementations have little control over the
HTTP protocol implementation and cannot control which of these response status
codes is sent."
[1] -
http://ws-i.org/profiles/basicprofile-1.2-2010-11-09.html#HTTP_Success_Status_Codes
> Axis2 ServiceClient does not handle response with 200 OK http status code
> with Content-Length 0
> -----------------------------------------------------------------------------------------------
>
> Key: AXIS2-5472
> URL: https://issues.apache.org/jira/browse/AXIS2-5472
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.6.2
> Reporter: Sagara Gunathunga
> Assignee: Sagara Gunathunga
> Fix For: 1.7.0
>
>
> OMException in getSOAPBuilder {org.apache.axis2.builder.BuilderUtil}
> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException:
> Unexpected EOF in prolog
> at [row,col {unknown-source}]: [1,0]
> at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
> at
> org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:140)
> at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:688)
> at
> org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:197)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
> at
> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
> at
> org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:81)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
> at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> at org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:475)
> at org.apache.axis2.client.ServiceClient.sendRobust(ServiceClient.java:456)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]