samples.util
Class SampleAxis2Server
java.lang.Object
samples.util.SampleAxis2Server
public class SampleAxis2Server
- extends Object
Method Summary |
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 |
SampleAxis2Server
public SampleAxis2Server()
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
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.