Has anyone seen this exception before? Is this a Class issue on the client side?
This client code (last line):
       RPCServiceClient serviceClient = new RPCServiceClient();
       Options options = serviceClient.getOptions();
EndpointReference targetEPR = new EndpointReference("http://basil.ece.neu.edu:8080/axis2/services/BooksAxis2Service";);
       options.setTo(targetEPR);
       QName opGetBooksAxis2 =
new QName("http://org.apache.axis2.myBooksAxis2";, "getTheBooks");
       Object[] opGetBooksAxis2Args = new Object[] { };
       Class[] returnTypes = new Class[] { BooksAxis2.class };
       Object[] response = serviceClient.invokeBlocking(opGetBooksAxis2,
               opGetBooksAxis2Args, returnTypes);

throws this:
Exception in thread "main" org.apache.axis2.AxisFault: java.lang.RuntimeException: org.apache.axis2.AxisFault: can not find read method for : size at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:435) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:540) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:521) at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102) at org.apache.axis2.rpcclient.BooksAxis2RPCclient.main(BooksAxis2RPCclient.java:31)

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to