|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.client.ServiceClient
org.apache.axis2.rpc.client.RPCServiceClient
Field Summary |
Fields inherited from class org.apache.axis2.client.ServiceClient |
ANON_OUT_IN_OP, ANON_OUT_ONLY_OP, ANON_ROBUST_OUT_ONLY_OP, ANON_SERVICE |
Constructor Summary | |
RPCServiceClient()
|
|
RPCServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
org.apache.axis2.description.AxisService service)
|
|
RPCServiceClient(org.apache.axis2.context.ConfigurationContext configContext,
java.net.URL wsdlURL,
javax.xml.namespace.QName wsdlServiceName,
java.lang.String portName)
|
Method Summary | |
org.apache.axiom.om.OMElement |
invokeBlocking(javax.xml.namespace.QName opName,
java.lang.Object[] args)
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. |
java.lang.Object[] |
invokeBlocking(javax.xml.namespace.QName opName,
java.lang.Object[] args,
java.lang.Class[] returnTypes)
|
void |
invokeNonBlocking(javax.xml.namespace.QName opName,
java.lang.Object[] args,
org.apache.axis2.client.async.Callback callback)
Invoke the nonblocking/Asynchronous call |
void |
invokeRobust(javax.xml.namespace.QName opName,
java.lang.Object[] args)
|
Methods inherited from class org.apache.axis2.client.ServiceClient |
addHeader, addHeader, addHeadersToEnvelope, addStringHeader, cleanup, createClient, disengageModule, disengageModule, engageModule, engageModule, finalize, fireAndForget, fireAndForget, getAxisService, getLastOperationContext, getMyEPR, getOptions, getOverrideOptions, getServiceContext, getTargetEPR, removeHeaders, sendReceive, sendReceive, sendReceiveNonBlocking, sendReceiveNonBlocking, sendRobust, sendRobust, setAxisService, setCachingOperationContext, setOptions, setOverrideOptions, setTargetEPR |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RPCServiceClient(org.apache.axis2.context.ConfigurationContext configContext, org.apache.axis2.description.AxisService service) throws org.apache.axis2.AxisFault
public RPCServiceClient() throws org.apache.axis2.AxisFault
public RPCServiceClient(org.apache.axis2.context.ConfigurationContext configContext, java.net.URL wsdlURL, javax.xml.namespace.QName wsdlServiceName, java.lang.String portName) throws org.apache.axis2.AxisFault
Method Detail |
public org.apache.axiom.om.OMElement invokeBlocking(javax.xml.namespace.QName opName, java.lang.Object[] args) throws org.apache.axis2.AxisFault
opName
- Operation QName (to get the body wrapper element)args
- Arraylist of objects
org.apache.axis2.AxisFault
public java.lang.Object[] invokeBlocking(javax.xml.namespace.QName opName, java.lang.Object[] args, java.lang.Class[] returnTypes) throws org.apache.axis2.AxisFault
opName
- Operation QName (to get the body wrapper element)args
- Arraylist of objectsreturnTypes
- , this array contains the JavaTypes for the return object , it could be
one or more depending on the return type , most of the type array will
contain just one element It should be noted that the array should only
contains JavaTypes NOT real object , what this methods does is , get the
body first element , and if it contains more than one childern take ith
element and convert that to ith javatype and fill the return arrya the
array will look like as follows [Integer, String, MyBean , etc]
org.apache.axis2.AxisFault
public void invokeNonBlocking(javax.xml.namespace.QName opName, java.lang.Object[] args, org.apache.axis2.client.async.Callback callback) throws org.apache.axis2.AxisFault
opName
- args
- - This should be OM Element (payload) invocation behaves accordinglycallback
-
org.apache.axis2.AxisFault
public void invokeRobust(javax.xml.namespace.QName opName, java.lang.Object[] args) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |