Hi Deepal,
Thanks for your reply.I follow the steps of creating pojo services but
i got following exception when i was invoking services throug
wsdl2java generated stub.
The client is asking for "return" element which has
nameURI=http://ws.apache.org/axis2,
but server sends out its nameUr""
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
Unexpected subelement return
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
at org.apache.ws.axis2.AStub.fromOM(AStub.java:719)
at org.apache.ws.axis2.AStub.sayHello(AStub.java:391)
at test.Client.main(Client.java:22)
Caused by: java.lang.Exception:
org.apache.axis2.databinding.ADBException: Unexpected subelement
return
at
org.apache.ws.axis2.AStub$SayHelloResponse$Factory.parse(AStub.java:1168)
at org.apache.ws.axis2.AStub.fromOM(AStub.java:716)
... 2 more
Caused by: org.apache.axis2.databinding.ADBException: Unexpected
subelement return
at
org.apache.ws.axis2.AStub$SayHelloResponse$Factory.parse(AStub.java:1164)
... 3 more
Thanks,
Guo-ping Zhang
2007/9/17, Deepal jayasinghe <[EMAIL PROTECTED]>:
> I think following article will help you.
>
> http://wso2.org/library/2546
>
> Thanks
> Deepal
> > for example:
> >
> > class HelloWorld
> > {
> > public String sayHello(String s)
> > {
> > return s;
> > }
> > }
> >
> > Instead of using OMElement as argument
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]