Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-504

Fault not identified in soap 1.1 body where additional body elements exist.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.22
    • None
    • LLOM
    • None

    Description

      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. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            targ37 Steve Harney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: