You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jake Goulding (JIRA)" <ji...@apache.org> on 2008/07/14 21:42:32 UTC

[jira] Created: (AXIS2-3911) Bad error reporting when subelement missing

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-3911) Bad error reporting when subelement missing

Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Updated: (AXIS2-3911) Bad error reporting when subelement missing

Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: wsdl.xml

WSDL

> 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


[jira] Assigned: (AXIS2-3911) Bad error reporting when subelement missing

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-3911:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         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


[jira] Updated: (AXIS2-3911) Bad error reporting when subelement missing

Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: Main.java

Driver program

> 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


[jira] Updated: (AXIS2-3911) Bad error reporting when subelement missing

Posted by "Jake Goulding (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: soap.soapxml

Returned SOAP message

> 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