axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <>
Subject [jira] Resolved: (AXIS2-3911) Bad error reporting when subelement missing
Date Thu, 06 Jan 2011 06:47:46 GMT


Amila Chinthaka Suriarachchi resolved AXIS2-3911.

    Resolution: Fixed

fixed with revision 1055761

> Bad error reporting when subelement missing 
> --------------------------------------------
>                 Key: AXIS2-3911
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jake Goulding
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments:, misleading-error.pcap, soap.soapxml, wsdl.xml
> The error that occurs is:
> org.apache.axis2.databinding.ADBException: Unexpected subelement node
> But the actual error is that a node should occur under every other node. I would expect
the error to instead say:
> org.apache.axis2.databinding.ADBException: Expected subelement node, but it is missing
> Also, I would put a vote in for printing the QName, instead of the local name. Having
nodes with the same local name makes debugging very hard. 
> I will attach pared-down, static versions of my WSDL, response, and Main program, as
well as a Wireshark dump.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message