THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- From a command shell, go to the HTTP Binding example directory:
whereCode Block cd [servicemix_install_dir]\examples\http-binding
servicemix_install_dir
is the directory in which ServiceMix was installed. - Then type:
Code Block [servicemix_install_dir]\bin\servicemix servicemix.xml
- To start sending and receiving messages from the HTTP server, send an initial message. To do this, compile and run a simple HTTP client. The client is built and run from source code using Ant. Execute Ant from the HTTP Binding directory:
servicemix_install_dir\examples\http-binding
. To run the HTTP client type:Code Block ant
Ant will compile and run the simple HTTP client, HttpClient, which performs a simple post on the HTTP Server into the ServiceMix container before returning the results to the console.
Tip | ||
---|---|---|
| ||
Add $SERVICEMIX_HOME/bin directory to $PATH variable to simplify execution of the examples. |
Stopping the HTTP Binding Example
...