Package samples.util

# Class SampleAxis2Server

java.lang.Object
samples.util.SampleAxis2Server

public class SampleAxis2Server extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SampleAxis2Server()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `main(String[] args)`
  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)
  `static void`
  `startServer(String[] args)`
  `static void`
  `stopServer()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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`