K
Kay*
Hello,
first of all, I apologize for my bad English...
I have a problem but I don't know how I can resolve it.
This is a service example...
public String print(Object obj){
return (obj.getClass().getName()) ; //or something else with obj
}
....and this is respective part of services.xml
<operation name="print">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
Then I use the WSDL2Java tool generate the client side stubs to
interact with the service and I write a Client.java ; here I create
the request with an MyCard object ...
MyServiceStub.Print request = new MyServiceStub.Print();
MyCard obj= new MyCard(...)
request.setParam0( (Object) obj);
but when I compile, I have an error beacuse setParam0 wants an
OMElement object .....
So .... how can I resolve my problem?
Please, it's very important!!!!!
Thanks!!
Kay
first of all, I apologize for my bad English...
I have a problem but I don't know how I can resolve it.
This is a service example...
public String print(Object obj){
return (obj.getClass().getName()) ; //or something else with obj
}
....and this is respective part of services.xml
<operation name="print">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
Then I use the WSDL2Java tool generate the client side stubs to
interact with the service and I write a Client.java ; here I create
the request with an MyCard object ...
MyServiceStub.Print request = new MyServiceStub.Print();
MyCard obj= new MyCard(...)
request.setParam0( (Object) obj);
but when I compile, I have an error beacuse setParam0 wants an
OMElement object .....
So .... how can I resolve my problem?
Please, it's very important!!!!!
Thanks!!
Kay