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
Direct Known Subclasses:
StressTestHelpers.TestAxisTransport

public class AxisTransport
extends AbstractTransport

Invokes remote web services using Axis 1.x.


Field Summary
 
Fields inherited from class uk.ac.soton.ecs.iam.grid.comms.client.AbstractTransport
certificateTrustValidator, idp, logger
 
Constructor Summary
AxisTransport()
           
AxisTransport(IdentityProvider idp)
           
 
Method Summary
protected  Service getService()
          Create a new Service object.
 Object invoke(org.apache.axis.message.addressing.EndpointReferenceType target, RemoteMethod method, Object[] argValues)
          Invoke a SOAP method on a remote server.
 
Methods inherited from class uk.ac.soton.ecs.iam.grid.comms.client.AbstractTransport
addInvocationListener, fetchWSDL, getCertificateTrustValidator, getIdentityProvider, getIssuerCert, getKeyStore, getKeystoreLocation, getPrivateKey, getSubjectCert, getURL, invokeService, openURL, putURL, removeInvocationListener, setCertificateTrustValidator, setIdentityProvider, setUserAgent, startInvocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisTransport

public AxisTransport()

AxisTransport

public AxisTransport(IdentityProvider idp)
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

public Object invoke(org.apache.axis.message.addressing.EndpointReferenceType target,
                     RemoteMethod method,
                     Object[] argValues)
              throws RemoteException
Description copied from interface: Transport
Invoke a SOAP method on a remote server.

The clientRef, serviceProviderRef and version fields of the request are filled in automatically.

Parameters:
target - the resource to be invoked
method - the operation being invoked
argValues - the values of the input arguments
Returns:
the value returned by the remote call, or null if return type is void. If an attachment is returned, the value will be a DataHandler. If documentStyle is true, the result is the unprocessed Document from the response message.
Throws:
RemoteException


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