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

Reply via email to