Show TOC

Procedure documentationUsing Java Proxy Runtime for Communication of Web Service Applications with PI Locate this document in the navigation structure

 

Web service applications can communicate with Integration Server using Java proxy runtime (JPR). The consumer Web service application invokes the Java Web service outbound proxies which in turn use JPR to forward the message to Integration Server. On the receiver side, the Integration Server sends the message first to JPR, which then forwards the message to the Web service provider application using Java Web service inbound proxies.

The configuration of the Java proxy runtime in Integration Directory remains the same as in Java EE applications for Web service communication, except for the following changes:

  • There is no need to register the receiver Web service (WS) proxies as needed in Java Receiver Proxy Beans.

  • To send or receive attachments you can use the attachment configurations of WS applications.

Apart from the normal configuration for Java proxies, you need to set the service property isWSProxy of the Java proxy runtime service to true. The default value is set to false, which implies that communication is enabled for Java EE applications.

More information: Java Proxies as Sender and Java Proxies as Receiver.

Note Note

Currently, you can only enable the communication for either WS Applications or Java EE Applications, which is dependent on the value of the service property isWSProxy.

End of the note.

Procedure

To modify the service property from false to true, follow the steps mentioned below:

  1. Log in to the NetWeaver Administrator using http://<host_name>:<port_no>/nwa.

  2. Select Configuration Management > Infrastructure > Java System Properties.

  3. Under Details, select Services tab. In the Name column, type the services name as XPI Service: Java Proxy Runtime and press Enter.

  4. Under Extended Details, select isWSProxy. Click Modify and in the Enter custom value field enter the value as true. Click Save to save the setting.

    If isWSProxy is set to true, then communication of Web service applications with Integration Server is enabled.

    If isWSProxy is set to false, then communication of Java EE applications with Integration Server is enabled.

For more information on how to use WS Proxies in WS applications: Creating and Configuring XI 3.0-Compatible Web Service Providers and Consumers for Brokered Communication and Configuring Individual Web Service Clients.