org.apache.axis2.client
Class Call

java.lang.Object
  extended byorg.apache.axis2.client.MEPClient
      extended byorg.apache.axis2.client.InOutMEPClient
          extended byorg.apache.axis2.client.Call

public class Call
extends InOutMEPClient

This class is used to invoke INOUT web services and serves as a convenience class to work with INOUT MEP.

See Also:
ServiceClient

Nested Class Summary
 
Nested classes inherited from class org.apache.axis2.client.InOutMEPClient
InOutMEPClient.SyncCallBack
 
Field Summary
protected  AxisOperation axisOperationTemplate
          Deprecated.  
protected  MessageContext lastResponseMsgCtx
          Deprecated.  
 
Fields inherited from class org.apache.axis2.client.InOutMEPClient
callbackReceiver
 
Fields inherited from class org.apache.axis2.client.MEPClient
clientOptions, mep
 
Constructor Summary
Call()
          Deprecated.  
Call(ServiceContext service)
          Deprecated.  
Call(String clientHome)
          Deprecated. Creates call object with client home.
 
Method Summary
protected  void assumeServiceContext(String clientHome)
          Deprecated. Assumes the values for the ConfigurationContext and ServiceContext to make the NON WSDL cases simple.
protected  AxisOperation createOpDescAndFillInFlowInformation(AxisOperation opDesc, String axisOp, int mepURL)
          Deprecated. Creates an operation description if it is null and copies the flows from the template operation.
 MessageContext getResponseMessageContext()
          Deprecated. Get the MessageContext of the response.
 OMElement invokeBlocking(String axisop, OMElement toSend)
          Deprecated. Invokes the blocking/synchronous call.
 SOAPEnvelope invokeBlocking(String axisop, SOAPEnvelope envelope)
          Deprecated. Invokes the blocking/synchronous call.
 void invokeNonBlocking(String axisop, OMElement toSend, Callback callback)
          Deprecated. Invokes the nonblocking/asynchronous call.
 void invokeNonBlocking(String axisop, SOAPEnvelope envelope, Callback callback)
          Deprecated. Invokes the nonblocking/asynchronous call.
 
Methods inherited from class org.apache.axis2.client.InOutMEPClient
close, configureTransportInformation, invokeBlocking, invokeNonBlocking, send
 
Methods inherited from class org.apache.axis2.client.MEPClient
addSOAPHeader, addSOAPHeader, addUserAddedSOAPHeaders, createDefaultSOAPEnvelope, engageModule, getClientOptions, getServiceContext, inferTransport, inferTransport, inferTransportOutDescription, prepareInvocation, prepareTheSOAPEnvelope, setClientOptions, setServiceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axisOperationTemplate

protected AxisOperation axisOperationTemplate
Deprecated. 

lastResponseMsgCtx

protected MessageContext lastResponseMsgCtx
Deprecated. 
Constructor Detail

Call

public Call()
     throws AxisFault
Deprecated. 
Throws:
AxisFault

Call

public Call(ServiceContext service)
Deprecated. 
Parameters:
service -
See Also:
constructer

Call

public Call(String clientHome)
     throws AxisFault
Deprecated. 
Creates call object with client home.

Parameters:
clientHome -
Throws:
AxisFault
Method Detail

assumeServiceContext

protected void assumeServiceContext(String clientHome)
                             throws AxisFault
Deprecated. 
Description copied from class: MEPClient
Assumes the values for the ConfigurationContext and ServiceContext to make the NON WSDL cases simple.

Overrides:
assumeServiceContext in class MEPClient
Throws:
AxisFault

createOpDescAndFillInFlowInformation

protected AxisOperation createOpDescAndFillInFlowInformation(AxisOperation opDesc,
                                                             String axisOp,
                                                             int mepURL)
                                                      throws AxisFault
Deprecated. 
Creates an operation description if it is null and copies the flows from the template operation.

Parameters:
opDesc -
axisOp -
Throws:
AxisFault

invokeBlocking

public OMElement invokeBlocking(String axisop,
                                OMElement toSend)
                         throws AxisFault
Deprecated. 
Invokes the blocking/synchronous call.

Parameters:
axisop - - this is used to identify the operation on the client side explicitly.
toSend - - data to be sent (OMElement).
Returns:
Returns OMElement.
Throws:
AxisFault

invokeBlocking

public SOAPEnvelope invokeBlocking(String axisop,
                                   SOAPEnvelope envelope)
                            throws AxisFault
Deprecated. 
Invokes the blocking/synchronous call.

Parameters:
axisop - - this is used to identify the operation on the client side explicitly.
envelope - - data to be sent (SOAPEnvelope).
Returns:
Returns SOAPEnvelope.
Throws:
AxisFault

invokeNonBlocking

public void invokeNonBlocking(String axisop,
                              OMElement toSend,
                              Callback callback)
                       throws AxisFault
Deprecated. 
Invokes the nonblocking/asynchronous call.

Parameters:
axisop -
toSend - - data to be sent (OMElement).
callback -
Throws:
AxisFault

invokeNonBlocking

public void invokeNonBlocking(String axisop,
                              SOAPEnvelope envelope,
                              Callback callback)
                       throws AxisFault
Deprecated. 
Invokes the nonblocking/asynchronous call.

Parameters:
axisop -
envelope - - data to be sent (SOAPEnvelope).
callback -
Throws:
AxisFault

getResponseMessageContext

public MessageContext getResponseMessageContext()
Deprecated. 
Get the MessageContext of the response.

Returns:
Returns message context.