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

The reason in a SOAP fault is never parsed

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jabbors Johan Abbors

            Dates

              Created:
              Updated:

              Slack

                Issue deployment