[ http://issues.apache.org/jira/browse/AXIS2-1513?page=all ]
Davanum Srinivas resolved AXIS2-1513.
-------------------------------------
Resolution: Fixed
Amila,
Could you please check my fix?
http://svn.apache.org/viewvc?view=rev&revision=468444
Deepal,
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]