Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1615

The reason in a SOAP fault is never parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.6.0
    • None
    • wsdl2c tool
    • Debian Squeeze i386

    Description

      I discovered that the faultstring (or reason) in a SOAP fault response never gets parsed by the generated code.

      The issue with the deserialize routines for SOAP faults is that the pointer "axiom_node_t *soap_detail_node" is not pointing at the correct node, or as I my case NULL. Thus the reason is never parsed.

      Even though the pointer should point at the correct node the reason would still not be parsed as the deserialize routines are comparing the node names incorrectly ("reason" == "faultstring").

      I have attached a patch which solves this problem. The patch is not beautiful and should let the ADB fault types deserialize the reason but at least it gets the job done.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jabbors Johan Abbors
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: