Steve Harney created AXIOM-504:
----------------------------------

             Summary: Fault not identified in soap 1.1 body where additional 
body elements exist. 
                 Key: AXIOM-504
                 URL: https://issues.apache.org/jira/browse/AXIOM-504
             Project: Axiom
          Issue Type: Bug
          Components: LLOM
    Affects Versions: 1.2.22
            Reporter: Steve Harney


I have what I believe is valid soap 1.1 reply which contains a fault which is 
preceded with an additional non fault sibling,  ie. 
<soap .... ><body> <response>...</response><fault>....</fault></body></body> 

The soap 1.2 specification specifically forbids this type of response but the 
only thing stated in the soap 1.1 specification is that you can only have one 
soap fault, with no limitations on other body elements. 

In looking into the code the org.apache.axiom.soap.impl.llom.SOAPBodyImpl  
which is the parent of the 
org.apache.axiom.soap.impl.dom.soap11.SOAP11BodyImpl.   the hasFault() and get 
fault only checks the first element of the body where as the spec does not 
specify it has to be the first and/or only element. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to