[ https://issues.apache.org/jira/browse/AXIS2C-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nandika Jayawardana reassigned AXIS2C-1615: ------------------------------------------- Assignee: Nandika Jayawardana > 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 > Assignee: Nandika Jayawardana > 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-unsubscr...@axis.apache.org For additional commands, e-mail: c-dev-h...@axis.apache.org