public class SampleAxis2Server extends Object
| Constructor and Description |
|---|
SampleAxis2Server() |
| Modifier and Type | Method and 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() |
public static void main(String[] args) throws Exception
args - 1: Axis2 repository
2: Axis2 configuration file (axis2.xml)ExceptionCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.