[ 
https://issues.apache.org/jira/browse/AXIS2-4221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650450#comment-13650450
 ] 

Hudson commented on AXIS2-4221:
-------------------------------

Integrated in axis2-1.6 #336 (See 
[https://builds.apache.org/job/axis2-1.6/336/])
    merged 1479351, AXIS2-4221 fixes to branch (Revision 1479352)

     Result = SUCCESS
shameera : 
Files : 
* /axis/axis2/java/core/branches/1_6
* 
/axis/axis2/java/core/branches/1_6/modules/adb/src/org/apache/axis2/rpc/receivers/RPCInOnlyMessageReceiver.java
* 
/axis/axis2/java/core/branches/1_6/modules/adb/src/org/apache/axis2/rpc/receivers/RPCInOutAsyncMessageReceiver.java
* 
/axis/axis2/java/core/branches/1_6/modules/adb/src/org/apache/axis2/rpc/receivers/RPCMessageReceiver.java
* /axis/axis2/java/core/branches/1_6/modules/saaj

                
> Axis2 should throw a meaningful fault if SOAP body is missing
> -------------------------------------------------------------
>
>                 Key: AXIS2-4221
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4221
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4.1
>            Reporter: Detelin Yordanov
>            Assignee: Shameera Rathnayaka
>             Fix For: 1.7.0, 1.6.3
>
>         Attachments: MissingBodyRequestResponse.txt, 
> MIssingBodyStacktrace.txt, trunk.patch
>
>
> Hi guys,
>    Currently Axis2 does not check whether an incoming SOAP message contains a 
> SOAP body (which is mandatory according to the spec).
> Axiom does not do it either and just returns null if body is missing (see 
> SOAPEnvelope#getBody()).
> So in the case of missing body users receive a very uninformative fault:
> <soapenv:Fault>
>     <soapenv:Code>
>         <soapenv:Value>soapenv:Receiver</soapenv:Value>
>     </soapenv:Code>
>     <soapenv:Reason>
>         <soapenv:Text xml:lang="en-US">unknown</soapenv:Text>
>     </soapenv:Reason>
>     <soapenv:Detail />
> </soapenv:Fault>
> I think this should be handled gracefully with an according error message 
> message.

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

Reply via email to