axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Abbors (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AXIS2C-1615) The reason in a SOAP fault is never parsed
Date Fri, 16 Nov 2012 11:56:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Johan Abbors updated AXIS2C-1615:
---------------------------------

    Attachment: axis2_codegen_parse_soap_fault_reason.patch
    
> The reason in a SOAP fault is never parsed
> ------------------------------------------
>
>                 Key: AXIS2C-1615
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1615
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: wsdl2c tool
>    Affects Versions: 1.6.0
>         Environment: Debian Squeeze i386
>            Reporter: Johan Abbors
>            Priority: Critical
>              Labels: bug, patch
>             Fix For: 1.7.0
>
>         Attachments: axis2_codegen_parse_soap_fault_reason.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message