axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1513) ADB codegen problem when server send null values
Date Thu, 26 Oct 2006 11:29:18 GMT
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


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