This section describes in detail how to interact with InstantSOAP using a simple commandline client. It assumes that you have installed Java, Tomcat and the instantsoap-ws-echotest service as described in the starter document. This document also shows elementary use of the client.
The InstantSOAP client is not meant for serious use, but it does demonstrate the basics of the interactions with an InstantSOAP service. You can download the client in a variety of formats from here .
Two things need to be specified for the client to find an InstantSOAP installation. First is the physical machine that it is located on. This defaults to localhost:8080 , but can be altered:
instantsoap-client --host http://dinley.ncl.ac.uk:8080
Secondly, you need to describe the installation -- a single tomcat can host many different InstantSOAP war files which in turn can carry more than one service. This can be specified with
instantsoap-client --installation instantsoap-ws-echotest-1.0
An InstantSOAP installation can host more than one service. More over the hosted service can be changed dynamically. Therefore, you may well need to list the applications currently hosted. In this case,
instantsoap-client --list
Each InstantSOAP application can describe itself.
instantsoap-client --application=stringEcho --describe
instantsoap-client --application=stringEcho --inputs
There are two ways of invoking a service. Both appear identical from the users perspective with this client.
instantsoap-client --application=stringEcho --blocking messageIn=hello
instantsoap-client --application=stringEcho --nonblocking messageIn=hello