Package samples.util

Class SampleAxis2Server

java.lang.Object
samples.util.SampleAxis2Server

public class SampleAxis2Server extends Object
  • Constructor Details

    • SampleAxis2Server

      public SampleAxis2Server()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Expected system properties http_port: Port to bind HTTP transport (default is 9000) https_port: Port to bind HTTPS transport (default is 9002) server_name: Name of this instance of the server (optional)
      Parameters:
      args - 1: Axis2 repository 2: Axis2 configuration file (axis2.xml)
      Throws:
      Exception
    • startServer

      public static void startServer(String[] args) throws Exception
      Throws:
      Exception
    • stopServer

      public static void stopServer() throws Exception
      Throws:
      Exception