Class UtilsTransportServer


  • public class UtilsTransportServer
    extends Object
    Base class for transport util servers used in unit testing
    • Constructor Detail

      • UtilsTransportServer

        public UtilsTransportServer()
                             throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
    • 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 assign
        parameters - the parameters for the service
        Throws:
        Exception