processMessage

processMessage(message: String): String updating;

The JadeWebServiceProvider class processMessage method takes the value of the message parameter as input (which is assumed to be a SOAP message), calls the relevant Web service method, passing it the necessary parameters, and returns the result of the processing as a SOAP message.

If the incoming message is not a SOAP message, an exception is raised. Similarly, if the method name or the parameters are not valid, an exception is raised. It is your responsibility to trap this exception and take whatever action is necessary. Use the Exception class createSOAPMessage method to transform this error into a SOAP message.

For more details and an example of this use of this method, see "Using Communications Protocols Other than HTTP in your Web Service", in Chapter 11 of the JADE Developer’s Reference.