RMI-IIOP using JAX-RPC
RMI-IIOP can be used with JAX-RPC to support non-SOAP bindings.
Java API for XML-based Remote Procedure Call (JAX-RPC) is the Java standard API for invoking Web services through remote procedure calls. A transport is used by a programming language to communicate over the Internet. We can use protocols with the transport such as SOAP and RMI. Use Remote Method Invocation over Internet Inter-ORB Protocol (RMI-IIOP) with JAX-RPC to support non-SOAP bindings.
Use RMI-IIOP with JAX-RPC, enables WebSphere Java clients to invoke enterprise beans using a WSDL file and the JAX-RPC model instead of using the standard Web Services for Java EE model. When a enterprise Java Beansimplementation is used to invoke a Web service, multiprotocol JAX-RPC permits the Web service invocation path to be optimized for WebSphere Java clients. To learn more this optimization, read about using enterprise bean bindings to invoke an EJB from a Web services client.
Benefits of using the RMI/IIOP protocol instead of a SOAP- based protocol are:
- XML processing is not required to send and receive messages; Java serialization is used instead.
- The client JAX-RPC call can participate in a user transaction, which is not the case when SOAP is used.
Related concepts
JAX-RPC
WSIF Overview
Related tasks
Use WSDL EJB bindings to invoke an EJB from a JAX-RPC Web services client