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] Commented: (AXIS2-1513) ADB codegen problem when server send null values
Date Thu, 26 Oct 2006 14:47:22 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1513?page=comments#action_12444907 ] 
            
Davanum Srinivas commented on AXIS2-1513:
-----------------------------------------

Deepal,

Does the nillable change fix this problem?

thanks,
dims

> ADB codegen problem when server send null values
> ------------------------------------------------
>
>                 Key: AXIS2-1513
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1513
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: Man.java, MyBeanImpl.java, MyService.java
>
>
> I generate a pojo using attached java classes , and then code gen using adb. And invoke
the service. Then I got the following exception.
> java.lang.RuntimeException: Unexpected subelement man
> 	at org.apache.ws.axis2.MyServiceStub.fromOM(MyServiceStub.java:3408)
> 	at org.apache.ws.axis2.MyServiceStub.SayHello(MyServiceStub.java:333)
> 	at org.apache.ws.axis2.MyCleint.main(MyCleint.java:32)
> As I can understand the problem is in following code in generated stub;
> while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
> and I think it should change to 
> while (!reader.isStartElement()) reader.next(); 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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