Package org.apache.axis2.transport
Class UtilsTransportServer
- java.lang.Object
-
- org.apache.axis2.transport.UtilsTransportServer
-
public class UtilsTransportServer extends Object
Base class for transport util servers used in unit testing
-
-
Constructor Summary
Constructors Constructor Description UtilsTransportServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTransport(org.apache.axis2.description.TransportInDescription trpInDesc)voidaddTransport(org.apache.axis2.description.TransportInDescription trpInDesc, org.apache.axis2.description.TransportOutDescription trpDescOut)voiddeployEchoService(String name, List<org.apache.axis2.description.Parameter> parameters)Deploy the standard Echo service with the custom parameters passed invoidenableAddressing()org.apache.axis2.engine.AxisConfigurationgetAxisConfiguration()org.apache.axis2.context.ConfigurationContextgetConfigurationContext()voidstart()voidstop()
-
-
-
Method Detail
-
addTransport
public void addTransport(org.apache.axis2.description.TransportInDescription trpInDesc, org.apache.axis2.description.TransportOutDescription trpDescOut) throws org.apache.axis2.AxisFault- Throws:
org.apache.axis2.AxisFault
-
addTransport
public void addTransport(org.apache.axis2.description.TransportInDescription trpInDesc) throws org.apache.axis2.AxisFault- Throws:
org.apache.axis2.AxisFault
-
enableAddressing
public void enableAddressing() throws org.apache.axis2.AxisFault- Throws:
org.apache.axis2.AxisFault
-
getConfigurationContext
public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
-
getAxisConfiguration
public org.apache.axis2.engine.AxisConfiguration getAxisConfiguration()
-
deployEchoService
public void deployEchoService(String name, List<org.apache.axis2.description.Parameter> parameters) throws Exception
Deploy the standard Echo service with the custom parameters passed in- Parameters:
name- the service name to assignparameters- the parameters for the service- Throws:
Exception
-
-