invokeWithVerb

invokeWithVerb(inputMessage: String;
               verbIn:       String): String updating;

The invokeWithVerb method of the JadeWebServiceConsumer class sends the SOAP-formatted message specified in the inputMessage parameter, using the verb specified in the verbIn parameter, to the Web service and returns the response from the Web service provider (a SOAP message).

This method does the same as the JadeWebServiceConsumer class invoke method, except that the verb specified in the verbIn parameter is used (for example, "GET" or "PUT") instead of "POST". Calling the invoke method is the same as calling the invokeWithVerb method with "POST" specified in the verbIn parameter.

Re-implement the invokeWithVerb method in the following situations when you also need to specify the verb that is used.

You can use the invokeWithVerb method, for example, to allow users to access a REST service using the HTTP GET verb.