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

AXIOM DOM implementation of SOAPFaultDetailImpl only serializes the first child node whereas the LLOM implementation serializes all children

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.8
    • 1.2.9
    • None
    • None

    Description

      The SOAPFaultDetailImpl.internalSerialize() and SOAP11FaultDetailImpl.internalSerialize() methods in the AXIOM DOM implementation only serialize the first child of the fault details element. This is inconsistent both with the LLOM implementation which serializes all children, and would appear to be inconsistent with section 4.1.4 of the WS-I basic profile which states "A RECEIVER MUST accept fault messages that have any number of elements, including zero, appearing as children of the detail element. Such children can be qualified or unqualified." (http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16438576).

      Furthermore, this can cause problems even with a single child element of the fault details element if there was any whitespace in the original serialized XML. If there was whitespace between the details element and the first element child then only the whitespace child is serialized on output.

      Attachments

        Activity

          People

            veithen Andreas Veithen
            davebryant Dave Bryant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: