The RPC (Remote Procedure Call) is a mechanism that enables a remote procedure call from a client to be communicated to a remote server. JAX-RPC makes it easier for applications or Web services to call other applications or Web services. JAX-RPC provides a uniform APIs that enables developers to create Web service clients and access Web service servers based on SOAP. The current release of JAX-RPC requires the support of SOAP over HTTP for interoperability purposes. It works on the following steps:
1. A java program invokes a method on a stub,
2. Stub invokes routines in the JAX-RPC Runtime System,
3. Runtime System converts the method into a SOAP message and transmits the message as an HTTP request.
For more information,visit the following link:http://www.roseindia.net/tutorials/gwt/getting-message-server.shtml