| org.apache.axis2.rpc.client.RPCServiceClient
RPCServiceClient | public class RPCServiceClient extends ServiceClient (Code) | | |
RPCServiceClient | public RPCServiceClient(ConfigurationContext configContext, AxisService service) throws AxisFault(Code) | | |
RPCServiceClient | public RPCServiceClient() throws AxisFault(Code) | | |
RPCServiceClient | public RPCServiceClient(ConfigurationContext configContext, URL wsdlURL, QName wsdlServiceName, String portName) throws AxisFault(Code) | | |
invokeBlocking | public OMElement invokeBlocking(QName opName, Object[] args) throws AxisFault(Code) | | Return value can be a single a object or an object array (itself an object) , but it is
difficulty to figure the return object correctly unless we have TyepMapping in the client
side too. Until it is finalized lets return OMElement as return value. And the retuen value
will be the body first element user has to deal with that and create his own object out of
that.
Parameters: opName - Operation QName (to get the body wrapper element) Parameters: args - Arraylist of objects Response OMElement throws: AxisFault - in case of a problem - this can either be a processing fault or a receivedon-the-wire fault. |
invokeBlocking | public Object[] invokeBlocking(QName opName, Object[] args, Class[] returnTypes) throws AxisFault(Code) | | Parameters: opName - Operation QName (to get the body wrapper element) Parameters: args - Arraylist of objects Parameters: returnTypes - , this array contains the JavaTypes for the return object , it could beone or more depending on the return type , most of the type array willcontain just one element It should be noted that the array should onlycontains JavaTypes NOT real object , what this methods does is , get thebody first element , and if it contains more than one childern take ithelement and convert that to ith javatype and fill the return arrya thearray will look like as follows [Integer, String, MyBean , etc] Object array , whic will contains real object , but the object can either be simpletype object or the JavaBeans, thats what this method can handle right now the returnarray will contains [10, "Axis2Echo", {"foo","baa","11"}] throws: AxisFault - a problem occurred, either locally or on the other side of the wire |
invokeNonBlocking | public void invokeNonBlocking(QName opName, Object[] args, Callback callback) throws AxisFault(Code) | | Invoke the nonblocking/Asynchronous call
Parameters: opName - Operation QName (to get the body wrapper element) Parameters: args - an array of argument Objects Parameters: callback - object extending Callback which will receive notifications throws: AxisFault - in case of a local processing error |
invokeNonBlocking | public void invokeNonBlocking(QName opName, Object[] args, AxisCallback callback) throws AxisFault(Code) | | Invoke the nonblocking/Asynchronous call
Parameters: opName - Operation QName (to get the body wrapper element) Parameters: args - an array of argument Objects Parameters: callback - object implementing AxisCallback which will receive notifications throws: AxisFault - in case of a local processing error |
invokeRobust | public void invokeRobust(QName opName, Object[] args) throws AxisFault(Code) | | |
|
|