uk.ac.soton.ecs.iam.grid.comms.client
Class AxisTransport

java.lang.Object
  extended by uk.ac.soton.ecs.iam.grid.comms.client.AbstractTransport
      extended by uk.ac.soton.ecs.iam.grid.comms.client.AxisTransport
All Implemented Interfaces:
Transport

public class AxisTransport
extends AbstractTransport

Invokes remote web services using Axis 1.2.


Field Summary
 
Fields inherited from class uk.ac.soton.ecs.iam.grid.comms.client.AbstractTransport
logger
 
Constructor Summary
AxisTransport()
           
 
Method Summary
protected  Service getService()
          Create a new Service object.
protected  Object invoke(RemoteBoundMethod method, String serviceProviderRef, SOAPHeaderElement[] extraHeaders, Object[] argValues)
          Subclasses of AbstractTransport implement this method to actually perform an invokation.
 
Methods inherited from class uk.ac.soton.ecs.iam.grid.comms.client.AbstractTransport
fetchWSDL, getIssuerCert, getKeyPassword, getKeyStore, getKeystoreLocation, getPrivateKey, getSubjectCert, invokeService, loadWSDL, openURL, setUserAgent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisTransport

public AxisTransport()
Method Detail

getService

protected Service getService()
Create a new Service object. Subclasses may wish to override this to use different configuration settings.

Returns:
a newly created Service object

invoke

protected Object invoke(RemoteBoundMethod method,
                        String serviceProviderRef,
                        SOAPHeaderElement[] extraHeaders,
                        Object[] argValues)
                 throws RemoteException
Description copied from class: AbstractTransport
Subclasses of AbstractTransport implement this method to actually perform an invokation. The arguments are passed from invokeService, except that the missing header fields have been filled in by this point.

Specified by:
invoke in class AbstractTransport
Returns:
null if the return type is void, DataHandler if we get an attachment, or the return value of the operation otherwise.
Throws:
RemoteException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.