Figure 1. Make a Request
The client calls a method on the stub, and the stub implementation code takes the parameters to that method, turning the Java method call into a Web service request that is sent over HTTP to the server and using SOAP as the RPC protocol.