In an RPC-style SOAP message, method calls are made between client and server applications. The client application sends a request to the server in the form of a method call. The web service server processes the request and returns an appropriate value to the client application.
Unlike the document-style, the RPC-style of exchanging messages is synchronous because it follows the call-response form of communication. In call-response, the client application sends a request and waits for the response.
In the code example, the getStock method is invoked with Jane Austin as its parameter.
|