You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shashikant Sarade <sh...@gmail.com> on 2012/04/09 20:07:37 UTC

Problem while writing client in AXIS 2

1.verifyuser is a web service in my project.
2.Created stub and callbackhandler successfully for it
3.Now this where i stuck
       when i call this service via
stub(i.e.stub.verifyUser(Object_of_VerifyUser_which_I_already_created_set_values))

Exceptions ::::
                     org.apache.axis2.*databinding.ADBException*:
Unexpected subelement {http://schemas.xmlsoap.org/soap/envelope/}Body
              at
com.LoginStub$VerifyUserResponse$Factory.parse(LoginStub.java:870)
              at com.LoginStub.fromOM(LoginStub.java:1509)
               ... 25 more


Such exceptions occur when Stub used to call service.

Reply fast n smart if u know this....

Re: Problem while writing client in AXIS 2

Posted by Jaime Hablutzel Egoavil <ha...@gmail.com>.
I suggest you to use TCPMON http://ws.apache.org/commons/tcpmon/download.cgi
to sniff what is going over the network... because as I undertand you get
this error after calling your web service, doesn't it?

On Mon, Apr 9, 2012 at 1:07 PM, Shashikant Sarade <
shashikantsarade@gmail.com> wrote:

> 1.verifyuser is a web service in my project.
> 2.Created stub and callbackhandler successfully for it
> 3.Now this where i stuck
>        when i call this service via
> stub(i.e.stub.verifyUser(Object_of_VerifyUser_which_I_already_created_set_values))
>
> Exceptions ::::
>                      org.apache.axis2.*databinding.ADBException*:
> Unexpected subelement {http://schemas.xmlsoap.org/soap/envelope/}Body
>                at
> com.LoginStub$VerifyUserResponse$Factory.parse(LoginStub.java:870)
>               at com.LoginStub.fromOM(LoginStub.java:1509)
>                 ... 25 more
>
>
> Such exceptions occur when Stub used to call service.
>
> Reply fast n smart if u know this....
>
>


-- 
Jaime Hablutzel - 9-9956-3299

(tildes omitidas intencionalmente)