For this guide, we will using services, rather than developing new ones, so do not need all of the requirements.
InstantSOAP depends on a recent version of Java. It can be installed using downloads from here .
We also need Tomcat which can be downloaded from here . Windows users, please download the ZIP file, rather than the Windows Service Exectable. Unix users, get the tarball.
If you have difficulties, you can find links to the full installation instructions in the requirements documentation. The most likely issues will an old version of Java, or an existing tomcat running on port 8080.
Download instantsoap-ws-echotest-1.0.war . Copy the file to the apache-tomcat-6.x.x/webapps directory. Now type
apache-tomcat-6.x.x/bin/startup.bat
Navigate to Tomcat . It should look like this . If not, there are problems with your tomcat installation.
InstantSOAP contains a web forms interface -- it's rather basic, but allows you to test the functionality of the service out. It is reproduced here. Click in the "Run" button in the table below.
stringEcho | Echo any string |
This test installation includes several other services. You can view the management interface here . Again, this is rather basic, but good for trying services out. If you have got this far, you have successfully installed a service and interacted with it via the web forms.
Download the file instantsoap-client-1.0-bin.zip (or for unix ). Unzip the file -- please use a directory with no spaces in the path (no "My Documents" or "Program Files" -- apologies for the hassle!).
Move into the directory instantsoap-client-xxx/bin . Type the following command:
instantsoap-client --blocking --application stringEcho messageIn=hello
instantsoap-client.sh --blocking --application stringEcho messageIn=hello
messageOut=hello
instantsoap-client --blocking --host http://localhost:8080 --application stringEcho messageIn=hello
You can replicate the other functionality seem in the last section with:
instantsoap-client --list
If you have got this far, you have successfully used a client to InstantSOAP.
If you have finished you should turn tomcat off, with
apache-tomcat-6.xx.xx/bin/shutdown.bat