axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Goulding (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3911) Bad error reporting when subelement missing
Date Mon, 14 Jul 2008 19:44:31 GMT

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

Jake Goulding updated AXIS2-3911:
---------------------------------

    Attachment: misleading-error.pcap

Wireshark dump

> Bad error reporting when subelement missing 
> --------------------------------------------
>
>                 Key: AXIS2-3911
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3911
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4
>            Reporter: Jake Goulding
>         Attachments: Main.java, 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message