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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to