Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm assuming you're only interested in web service clients?</p> <h2>Option 1</h2> <p>Invoke the web service is using Axis2 <a href="http://ws.apache.org/axis2/1_5_1/rest-ws.html" rel="nofollow noreferrer">REST support</a>, for example:</p> <p><a href="http://localhost:8080/axis2/services/MyService/myOperation?param1=one&amp;param2=two" rel="nofollow noreferrer">http://localhost:8080/axis2/services/MyService/myOperation?param1=one&amp;param2=two</a></p> <h2>Option 2</h2> <p>Use <a href="http://www.soapui.org/" rel="nofollow noreferrer">SOAPUI</a>. It can generate SOAP messages for you, by reading your service's WSDL. My client's testers have been using it extensively with only a very broad understanding of web service technologies. An impressive tool.</p> <h2>Option 3</h2> <p>Groovy client (Same approach for other JVM based languages)</p> <p>Use the <em>wsdl2java</em> tool to create a client stub class for the Shakespeare web service:</p> <p><strong>generate.sh</strong>:</p> <pre><code>$AXIS2_HOME/bin/wsdl2java.sh -d adb -s -o build -uri http://www.xmlme.com/WSShakespeare.asmx?WSDL ant -file build/build.xml </code></pre> <p><strong>GetSpeech.groovy</strong>:</p> <pre><code>// Dependencies // ============ import com.xmlme.webservices.ShakespeareStub @Grapes([ @Grab(group='org.apache.axis2', module='axis2-kernel', version='1.5.1'), @Grab(group='org.apache.axis2', module='axis2-adb', version='1.5.1'), @Grab(group='org.apache.axis2', module='axis2-transport-local', version='1.5.1'), @Grab(group='org.apache.axis2', module='axis2-transport-http', version='1.5.1'), @Grab(group='xerces', module='xercesImpl', version='2.6.2'), @GrabConfig(systemClassLoader=true) ]) // Main program // ============ def stub = new ShakespeareStub() // Request payload def request = new ShakespeareStub.GetSpeech() request.setRequest("Friends, romans, countrymen") // Send request response = stub.getSpeech(request) println response.getGetSpeechResult() </code></pre> <p>Use the -cp parameter to add the generated code the the script's classpath</p> <pre><code>groovy -cp build/build/classes GetSpeech </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload