axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Panwar (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/AXIS2-3009
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: client-api
    Affects Versions: 1.2
         Environment: Axis2 -1.2
            Reporter: Amit Panwar


Hi 
        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
        at com.agilis.ils.ws.IlsAdminPublicAPIWSHttpportStub.fromOM(IlsAdminPublicAPIWSHttpportStub.java:46923)
        at com.agilis.ils.ws.IlsAdminPublicAPIWSHttpportStub.findMatchingProducts(IlsAdminPublicAPIWSHttpportStub.java:3380)
        at com.agilis.ils.ws.clientcode.IlsProductAdminWSClient.main(IlsProductAdminWSClient.java:203)
Caused by: java.lang.RuntimeException: Unexpected subelement Text
        at com.agilis.ils.ws.IlsAdminPublicAPIWSHttpportStub$FindMatchingProductsResponse$Factory.parse(IlsAdminPublicAPIWSHttpportStub.java:33121)
        at com.agilis.ils.ws.IlsAdminPublicAPIWSHttpportStub.fromOM(IlsAdminPublicAPIWSHttpportStub.java:46861)


        I think this is beacuse of returning a complex type from webservice .
        
        if (reader.isStartElement() && new  javax.xml.namespace.QName("http://ws.ils.agilis.com/xsd","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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message