uk.ac.soton.ecs.iam.grid.comms.client
Class AxisTransport
java.lang.Object
uk.ac.soton.ecs.iam.grid.comms.client.AbstractTransport
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.
| 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 |
AxisTransport
public AxisTransport()
AxisTransport
public AxisTransport(IdentityProvider idp)
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 invokedmethod - the operation being invokedargValues - 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.