Start of Content Area

Procedure documentation Generating Java Proxies for XI 3.0-Compatible Service Interfaces  Locate the document in its SAP Library structure

Use

ES Builder Java proxy generation is only relevant for customers who used SAP Exchange Infrastructure 3.0 or SAP NetWeaver 7.0 usage type Process Integration and have upgraded to SAP NetWeaver Process Integration 7.1. Java proxy generation in the ES Builder is intended for minor adjustments to service interfaces which have been created in the ES Repository due to the automatic migration of the message interfaces of an Integration Repository (XI 3.0 or SAP NetWeaver 7.0). This migration occurs when importing message interfaces into the ES Repository.

Using proxy generation in the ES Builder, you can regenerate proxy objects for these service interfaces. Developers then use the proxy objects to implement cross-application communication with the Integration Server.

Caution

Java proxy generation is no longer supported in subsequent releases. For new developments or when making significant changes to a service interface, use Java proxy generation in SAP NetWeaver Studio instead. More information: Creating Outside-In Web Services, SAP NetWeaver Developer Studio.

Prerequisites

Java proxy generation in the ES Builder can only process service interfaces that have the interface pattern 'stateless (XI 3.0-compatible)'. During generation, the ES Builder creates an archive (as a Jar or ZIP file). An archive can only contain the Java proxies for the service interfaces of one single software component version.

You can only generate proxy classes for service interfaces and not for sub objects of service interfaces.

Procedure

Create an Archive with Java Proxies

...

       1.      In the ES Builder main menu, choose Tools Java Proxy Generation.

       2.      In the second step in the wizard, choose Create New Archive.

Caution

If you select an archive that already exists here, it will be overwritten during generation.

       3.      Follow the wizard’s instructions.

Change an Existing Archive with Proxies (Regeneration)

...

       1.      In the ES Builder main menu, choose Tools Java Proxy Generation.

       2.      In the second step in the wizard, choose Change Existing Archive. Java proxy generation recognizes which service interfaces already have proxies in the archive so that these proxies can be regenerated as well. You can only regenerate proxy classes for the entire service interface.

       3.      Follow the wizard’s instructions.

Result

Java proxy generation creates J2EE Beans and proxy classes in the specified archive. The generated beans comply with the EJB 2.0 standard.

You can use Java proxies to implement J2EE applications on the Application Server (Java).

More information: Java Proxy Runtime

 

 

 

 

 

End of Content Area