org.apache.axis2.clientapi
Class Call
java.lang.Object
org.apache.axis2.clientapi.MEPClient
org.apache.axis2.clientapi.InOutMEPClient
org.apache.axis2.clientapi.Call
- Direct Known Subclasses:
- RESTCall
- public class Call
- extends InOutMEPClient
This class should be used only to invoke INOUT web services and will serve as a more convenient
class to work with INOUT MEP.
Constructor Summary |
Call()
|
Call(ServiceContext service)
|
Call(java.lang.String clientHome)
This is used to create call object with client home , using only this constructor it can
able to engage modules , addning client side parameters |
Methods inherited from class org.apache.axis2.clientapi.MEPClient |
createDefaultSOAPEnvelope, engageModule, getSoapAction, inferTransport, prepareInvocation, prepareTheSOAPEnvelope, setDoREST, setExceptionToBeThrownOnSOAPFault, setRestThroughPOST, setSoapAction, setSoapVersionURI, setWsaAction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operationTemplate
protected static OperationDescription operationTemplate
Call
public Call()
throws AxisFault
- Throws:
AxisFault
Call
public Call(java.lang.String clientHome)
throws AxisFault
- This is used to create call object with client home , using only this constructor it can
able to engage modules , addning client side parameters
- Parameters:
clientHome
-
- Throws:
AxisFault
Call
public Call(ServiceContext service)
- Parameters:
service
- - See Also:
constructer
invokeBlocking
public OMElement invokeBlocking(java.lang.String axisop,
OMElement toSend)
throws AxisFault
- Invoke the blocking/Synchronous call
- Parameters:
axisop
- - this will be used to identify the operation in the client side, without dispatchingtoSend
- - This should be OM Element (payload)
- Returns:
-
- Throws:
AxisFault
invokeBlocking
public SOAPEnvelope invokeBlocking(java.lang.String axisop,
SOAPEnvelope envelope)
throws AxisFault
- Invoke the blocking/Synchronous call
- Parameters:
axisop
- - this will be used to identify the operation in the client side, without dispatchingenvelope
- - This should be SOAPEnvelope
- Returns:
-
- Throws:
AxisFault
invokeNonBlocking
public void invokeNonBlocking(java.lang.String axisop,
OMElement toSend,
Callback callback)
throws AxisFault
- Invoke the nonblocking/Asynchronous call
- Parameters:
axisop
- toSend
- - This should be OM Element (payload)
invocation behaves accordinglycallback
-
- Throws:
AxisFault
invokeNonBlocking
public void invokeNonBlocking(java.lang.String axisop,
SOAPEnvelope envelope,
Callback callback)
throws AxisFault
- Invoke the nonblocking/Asynchronous call
- Parameters:
axisop
- envelope
- - This should be a SOAP Envelope
invocation behaves accordinglycallback
-
- Throws:
AxisFault
assumeServiceContext
protected static ServiceContext assumeServiceContext(java.lang.String clientHome)
throws AxisFault
- Assume the values for the ConfigurationContext and ServiceContext to make the NON WSDL cases simple.
- Returns:
- ServiceContext that has a ConfigurationContext set in and has assumed values.
- Throws:
AxisFault
get
public java.lang.Object get(java.lang.String key)
- Parameters:
key
-
- Returns:
set
public void set(java.lang.String key,
java.lang.Object value)
- Parameters:
key
- value
-
getLastResponseMessage
public MessageContext getLastResponseMessage()
- Returns: