org.iids.aos.webservices.axisstub.aosrpc
Class AOSTransport
java.lang.Object
org.apache.axis.client.Transport
org.iids.aos.webservices.axisstub.aosrpc.AOSTransport
public class AOSTransport
- extends org.apache.axis.client.Transport
Part of the AOS-RPC transport implementation for SOAP. This transport is
used by AOS agents to transparently communicate with a remote web service by
means of AgentScape's web services gateway.
AOSTransport extends Transport by implementing the setupMessageContext
function to set AOS-specific message context fields and transport chains.
Modeled after org.apache.axis.transport.http.HTTPTransport
See: separate documentation of web services for AgentScape.
| Fields inherited from class org.apache.axis.client.Transport |
transportName, url |
|
Method Summary |
void |
processReturnedMessageContext(org.apache.axis.MessageContext context)
|
void |
setupMessageContextImpl(org.apache.axis.MessageContext mc,
org.apache.axis.client.Call call,
org.apache.axis.AxisEngine engine)
Set up any transport-specific derived properties in the message context. |
| Methods inherited from class org.apache.axis.client.Transport |
getTransportName, getUrl, setTransportName, setupMessageContext, setUrl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TRANSPORT_NAME
public static final java.lang.String DEFAULT_TRANSPORT_NAME
- See Also:
- Constant Field Values
AGENTSCAPE_API_PROPERTY
public static final java.lang.String AGENTSCAPE_API_PROPERTY
- Message context and Call property name that stores the AgentScape
API object.
- See Also:
- Constant Field Values
AGENTSCAPE_LEASE_PROPERTY
public static final java.lang.String AGENTSCAPE_LEASE_PROPERTY
- Message context and Call property name that stores the lease ID assigned
by AgentScape's web service gateway.
- See Also:
- Constant Field Values
WSDL_BINDING
public static final java.lang.String WSDL_BINDING
- See Also:
- Constant Field Values
AGENT_HANDLE_PROPERTY
public static final java.lang.String AGENT_HANDLE_PROPERTY
- See Also:
- Constant Field Values
AOSTransport
public AOSTransport()
AOSTransport
public AOSTransport(java.lang.String url,
java.lang.String action)
- helper constructor
setupMessageContextImpl
public void setupMessageContextImpl(org.apache.axis.MessageContext mc,
org.apache.axis.client.Call call,
org.apache.axis.AxisEngine engine)
throws org.apache.axis.AxisFault
- Set up any transport-specific derived properties in the message context.
- Overrides:
setupMessageContextImpl in class org.apache.axis.client.Transport
- Parameters:
mc - the context to set upcall - the client service instanceengine - the engine containing the registries
- Throws:
org.apache.axis.AxisFault - if service cannot be found
processReturnedMessageContext
public void processReturnedMessageContext(org.apache.axis.MessageContext context)
- Overrides:
processReturnedMessageContext in class org.apache.axis.client.Transport
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.