org.apache.axis2.client
Class Stub

java.lang.Object
  extended byorg.apache.axis2.client.Stub
Direct Known Subclasses:
RPCStub

public abstract class Stub
extends Object


Field Summary
protected  Options _options
          If _maintainSession is set to true, all the calls can use the same ServiceContext.
protected static AxisService _service
           
protected  ServiceClient _serviceClient
           
protected  ArrayList modules
           
 
Constructor Summary
Stub()
           
 
Method Summary
 Options _getOptions()
           
 void _setOptions(Options _clientOptions)
           
protected  SOAPEnvelope createEnvelope()
           
 void engageModule(QName moduleName)
           
protected  OMElement getElement(SOAPEnvelope env, String type)
          A util method that extracts the correct element.
protected  OMElement getElementFromReader(XMLStreamReader reader)
           
protected  SOAPFactory getFactory(String soapNamespaceURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_service

protected static AxisService _service

modules

protected ArrayList modules

_options

protected Options _options
If _maintainSession is set to true, all the calls can use the same ServiceContext. The user can share information through this ServiceContext across operations.


_serviceClient

protected ServiceClient _serviceClient
Constructor Detail

Stub

public Stub()
Method Detail

_getOptions

public Options _getOptions()

_setOptions

public void _setOptions(Options _clientOptions)

createEnvelope

protected SOAPEnvelope createEnvelope()
                               throws SOAPProcessingException
Throws:
SOAPProcessingException

engageModule

public void engageModule(QName moduleName)
                  throws AxisFault
Throws:
AxisFault

getElement

protected OMElement getElement(SOAPEnvelope env,
                               String type)
A util method that extracts the correct element.

Parameters:
env -
type -
Returns:
the relevant element to be databound

getElementFromReader

protected OMElement getElementFromReader(XMLStreamReader reader)

getFactory

protected SOAPFactory getFactory(String soapNamespaceURI)