org.apache.axis.transport.local
Class LocalTransport
public class LocalTransport
A Transport which will cause an invocation via a "local" AxisServer.
Serialization will still be tested, as the requests and responses
pass through a String conversion (see LocalSender.java) - this is
primarily for testing and debugging.
This transport will either allow the LocalSender to create its own
AxisServer, or if you have one you've configured and wish to use,
you may pass it in to the constructor here.
- Rob Jellinghaus (robj@unrealities.com)
- Doug Davis (dug@us.ibm.com)
- Glen Daniels (gdaniels@allaire.com)
LocalTransport() - No-arg constructor, which will use an AxisServer constructed
by the LocalSender (see LocalSender.java).
|
LocalTransport(AxisServer server) - Use this constructor if you have a particular server kicking
around (perhaps which you've already deployed useful stuff into)
which you'd like to use.
|
LOCAL_SERVER
public static final String LOCAL_SERVER
REMOTE_SERVICE
public static final String REMOTE_SERVICE
LocalTransport
public LocalTransport()
No-arg constructor, which will use an AxisServer constructed
by the LocalSender (see LocalSender.java).
LocalTransport
public LocalTransport(AxisServer server)
Use this constructor if you have a particular server kicking
around (perhaps which you've already deployed useful stuff into)
which you'd like to use.
server
- an AxisServer which will bubble down to the LocalSender
setRemoteService
public void setRemoteService(String remoteServiceName)
Use this to indicate a particular "remote" service which should be
invoked on the target AxisServer. This can be used programatically
in place of a service-specific URL.
remoteServiceName
- the name of the remote service to invoke
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.