axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1747) Unexpected subelement Name
Date Wed, 31 Jan 2007 14:38:06 GMT

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

Davanum Srinivas updated AXIS2-1747:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Unexpected subelement Name
> --------------------------
>
>                 Key: AXIS2-1747
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1747
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1
>         Environment: Windows
>            Reporter: jeff ling
>         Assigned To: Amila Chinthaka Suriarachchi
>
> When the generated stub processes response, it expects the nodes come in a specific order.
If the order is different, exception is thrown. 
> The code is in parse() methods of different result processing factory. 
> For example, the code:
> /// process the "first" element "IsPrivacyChanged"
> if (reader.isStartElement()
>            ...
>               "IsPrivacyChanged").equals(reader.getName())) {
> read the value
> }else
> {
>    throw exception
> } 
> ///now it processes 2nd element.
> if (reader.isStartElement()
>            ...
>               "Name").equals(reader.getName())) {
> read the value
> }else
> {
>    throw exception
> } 
> If "Name" came in before "IsPrivacyChanged", exception is thrown. 
> A loop should be used, and any elements can appear in any order.

-- 
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