| java.lang.Object org.apache.axis2.client.Stub
Stub | abstract public class Stub (Code) | | Base class for generated client stubs. This defines several client API
(public ) methods shared between all types of stubs, along with
some protected methods intended for use by the actual stub
implementation code. The client API method names start with a leading
underscore character to avoid conflicts with actual implementation methods.
|
Method Summary | |
public ServiceClient | _getServiceClient() Get service client implementation used by this stub. | public void | _setServiceClient(ServiceClient _serviceClient) Set service client implementation used by this stub. | protected void | addHeader(OMElement omElementToadd, SOAPEnvelope envelop, boolean mustUnderstand) | protected void | addHeader(OMElement omElementToadd, SOAPEnvelope envelop) | protected void | addHttpHeader(MessageContext messageContext, String name, String value) | protected void | addPropertyToOperationClient(OperationClient operationClient, String propertyKey, Object propertyValue) | protected void | addPropertyToOperationClient(OperationClient operationClient, String propertyKey, boolean value) | protected void | addPropertyToOperationClient(OperationClient operationClient, String propertyKey, int value) | public void | cleanup() Cleanup associated resources. | protected static SOAPEnvelope | createEnvelope(Options options) Create a SOAP message envelope using the supplied options. | protected void | finalize() Finalize method called by garbage collection. | protected static SOAPFactory | getFactory(String soapVersionURI) Get Axiom factory appropriate to selected SOAP version. | protected void | setMustUnderstand(OMElement headerElement, OMNamespace omNamespace) | protected void | setServiceClientEPR(String address) |
_getServiceClient | public ServiceClient _getServiceClient()(Code) | | Get service client implementation used by this stub.
service client |
_setServiceClient | public void _setServiceClient(ServiceClient _serviceClient)(Code) | | Set service client implementation used by this stub. Once set, the
service client is owned by this stub and will automatically be removed
from the configuration when use of the stub is done.
Parameters: _serviceClient - |
addHeader | protected void addHeader(OMElement omElementToadd, SOAPEnvelope envelop, boolean mustUnderstand)(Code) | | |
addHeader | protected void addHeader(OMElement omElementToadd, SOAPEnvelope envelop)(Code) | | |
addHttpHeader | protected void addHttpHeader(MessageContext messageContext, String name, String value)(Code) | | add an http header with name and value to message context
Parameters: messageContext - Parameters: name - Parameters: value - |
addPropertyToOperationClient | protected void addPropertyToOperationClient(OperationClient operationClient, String propertyKey, Object propertyValue)(Code) | | sets the propertykey and propertyValue as a pair to operation client
Parameters: operationClient - Parameters: propertyKey - Parameters: propertyValue - |
addPropertyToOperationClient | protected void addPropertyToOperationClient(OperationClient operationClient, String propertyKey, boolean value)(Code) | | |
addPropertyToOperationClient | protected void addPropertyToOperationClient(OperationClient operationClient, String propertyKey, int value)(Code) | | |
cleanup | public void cleanup() throws AxisFault(Code) | | Cleanup associated resources. This removes the axis service from the
configuration.
throws: AxisFault - |
createEnvelope | protected static SOAPEnvelope createEnvelope(Options options) throws SOAPProcessingException(Code) | | Create a SOAP message envelope using the supplied options.
TODO generated stub code should use this method, or similar method taking
an operation client
Parameters: options - generated throws: SOAPProcessingException - |
finalize | protected void finalize() throws Throwable(Code) | | Finalize method called by garbage collection. This is overridden to
support cleanup of any associated resources.
throws: Throwable - |
getFactory | protected static SOAPFactory getFactory(String soapVersionURI)(Code) | | Get Axiom factory appropriate to selected SOAP version.
Parameters: soapVersionURI - factory |
setMustUnderstand | protected void setMustUnderstand(OMElement headerElement, OMNamespace omNamespace)(Code) | | |
setServiceClientEPR | protected void setServiceClientEPR(String address)(Code) | | sets the epr of the service client to given value
Parameters: address - |
|
|