axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <atma...@gmail.com>
Subject Re: axis2 - Unexpected subelement return
Date Wed, 26 Dec 2007 19:20:58 GMT
The problem is in your service, not the client.

The response message uses an undeclared namespace prefix "ax21" rather
than the "ns" prefix used in the rest of the message. How are you
creating the response in the service?

Anne

On Dec 26, 2007 1:53 PM, axis2--user <ssuruli@gmail.com> wrote:
>
> I am using axis2-1.3 and I am getting "Unexpected subelement return" error
> when I try running my axis2 client with my axis2 service. The wsdl for this
> web service was generated on .NET and my axis2 client runs fine with a
> similar .NET service. I am using myEclipse IDE and used AXIS2 plug-ins with
> in eclipse IDE to generate service skeleton and stub.
>
> Here is the error message.
> org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
> Unexpected subelement return
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>         at gazelle.net.ihe.Service1Stub.fromOM(Service1Stub.java:16100)
>         at gazelle.net.ihe.Service1Stub.GetDetailedResults(Service1Stub.java:506)
>         at gazelle.net.ihe.EVSClient.main(EVSClient.java:62)
> Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException:
> Unexpected subelement return
>         at
> gazelle.net.ihe.Service1Stub$GetDetailedResultsResponse$Factory.parse(Service1Stub.java:14946)
>         at gazelle.net.ihe.Service1Stub.fromOM(Service1Stub.java:16032)
>         ... 2 more
> Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement
> return
>         at
> gazelle.net.ihe.Service1Stub$GetDetailedResultsResponse$Factory.parse(Service1Stub.java:14941)
>         ... 3 more
>
>
> Find the attached wsdl, schema, soap request, soap response, and client
> code.
> Do you see any issue here.
>
> Please let me know.
>
> Thanks,
>
> SS
>
> http://www.nabble.com/file/p14505162/service1.wsdl service1.wsdl
> http://www.nabble.com/file/p14505162/xsd0.xsd xsd0.xsd
> http://www.nabble.com/file/p14505162/EVSClient.java EVSClient.java
> http://www.nabble.com/file/p14505162/soap-request.xml soap-request.xml
> http://www.nabble.com/file/p14505162/soap-response.xml soap-response.xml
> --
> View this message in context: http://www.nabble.com/axis2---Unexpected-subelement-return-tp14505162p14505162.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message