You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Steve Harney (Jira)" <ji...@apache.org> on 2020/11/11 23:59:00 UTC

[jira] [Created] (AXIOM-504) Fault not identified in soap 1.1 body where additional body elements exist.

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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org