Using Java Proxy Runtime for Communication of Web Service Applications with PI
Use
Web service applications can communicate with Integration Server or Advanced Adapter Engine Extended (AEX) 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 or AEX 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 .
Procedure
To modify the service property from false to true, follow the steps mentioned below:
-
Log in to the SAP NetWeaver Administrator using http://<host_name>:<port_no>/nwa .
-
Select Configuration Management > Infrastructure > Java System Properties .
-
Under Details , select Services tab. In the Name column, type the services name as XPI Service: Java Proxy Runtime and press Enter .
-
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 .
-
If you want to enable java proxy runtime as sender channel to communicate with the advanced adapter engine, in the Extended Details Properties tab set the properties below:
-
useUniversalAAEProperties : This property can take two values - true or false. If the value is set to true, the java proxy runtime forwards all the messages to the server specified in the proxy.aae.url parameter
-
proxy.aae.url : This parameter specifies the URL of the server where the messages can be forwarded to.
-
proxy.aae.username : This parameter specifies the username to login to the server.
-
proxy.aae.password : This parameter specifies the password to login to the server.
-