Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by PaulFremantle: http://wiki.apache.org/ws/Synapse/UserGuide ------------------------------------------------------------------------------ * Logging, service lookup, performance mediation * Versioning, failover, monitoring * Fault management, tracing + * Transformation, XSLT == Getting started == Although there is a cleanly defined division between Synapse and Axis2, the Synapse system relies on Axis2 to run. Firstly, it uses the AXIOM object model, and secondly it uses Axis2 as a listener and sender for Web service requests. There are two ways to set up the Synapse server. 1. ''synapse.war'' which can be deployed in a servlet container. - 1. A lightweight server which runs with its own HTTP server (it uses Axis2âs SimpleHTTPServer which is a simple lightweight HTTP server option that does not require a Servlet Engine) + 1. A lightweight server which runs with its own HTTP server (it uses Axis2âs SimpleHTTPServer which is a simple lightweight HTTP server option that does not require a Servlet Engine). The distribution is [http://www.apache.org/dist/ws/synapse/M1/ here]. - You can either download these or build them using Maven. + You can either download these or build them using Maven. Please note we use Maven 1.02 at the moment. You can build the war file by using the command: {{{ @@ -26, +27 @@ Once it's exploded, you will see in {{{WEB-INF}}} the axis2.xml which has been configured to execute Synapse properly and synapse.xml, which will hold the rules pertaining to messages passing through Synapse. - If you wish to use the standalone server, unzip the Synapse-M1-SNAPSHOT.zip. In the bin directory you will find a script called: + If you wish to use the standalone server, unzip the Synapse-Incubating-M1-bin.zip. In the bin directory you will find a script called: {{{ synapse [.sh or .bat] }}} - You should also see a directory called {{{synapse-repository}}}. In there you should find the axis2.xml and synapse.xml config files. The axis2.xml should not need to be modified, but if you know what you are doing you can of course! + You should also see a directory called {{{synapse_repository}}}. In there you should find the axis2.xml and synapse.xml config files. The axis2.xml should not need to be modified, but if you know what you are doing you can of course! - The command line for synapse-lightweight takes the repository directory and listening port, so: + The command line for synapse takes the repository directory and listening port, so: {{{ - sh bin/synapse.sh synapse-repository 8080 [Linux] + sh bin/synapse.sh + bin\synapse + + sh bin/synapse.sh synapse_repository -p8080 [Linux] + - bin\synapse synapse-repository 8080 [Win] + bin\synapse synapse_repository -p8080 [Win] }}} + + The default ''bin\synapse'' should work fine. == Deployment models ==