axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Panwar (JIRA)" <>
Subject [jira] Created: (AXIS2-3009) Problem in returning comples type by WebService
Date Tue, 24 Jul 2007 14:13:31 GMT
Problem in returning comples type by WebService

                 Key: AXIS2-3009
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: client-api
    Affects Versions: 1.2
         Environment: Axis2 -1.2
            Reporter: Amit Panwar

        I am using axis2-1.2 . When i m trying to call the webservice it giving a RunTimeException.

        Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException:
Unexpected subelement Text
Caused by: java.lang.RuntimeException: Unexpected subelement Text

        I think this is beacuse of returning a complex type from webservice .
        if (reader.isStartElement() && new  javax.xml.namespace.QName("","return").equals(reader.getName()))

      I think this code is giving error.

      If anybody have any idea , then please reply.
      Thanks in advance.
       Thanks and regards
        Amit Panwar

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:
For additional commands, e-mail:

View raw message