cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy

Former Member
0 Kudos

Dear Experts,

Please dont send any links

1) What is Proxies in SAP XI?

2) Why we are using proxies?

Thanks,

Bhavya

Accepted Solutions (0)

Answers (10)

Answers (10)

Former Member
0 Kudos

HI

Systems based on 6.20or higher can communicate directly with proxies.

The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages.

Proxies are generated from Message Interface in IR.

The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with. The Proxy Runtime currently has the following components available: 1. ABAP Proxy Runtime u2013 Communication using XI or Web Services a. Web Service Runtime 2. Java Proxy Runtime u2013 Communication using XI (J2EE) The objects that the Proxy Runtime then controls are created via Proxy Generation, for both ABAP and Java. In the following sections a u2018clientu2019 proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context). Conversely, a u2018serveru2019 proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).

Proxies can only be used to SAP WAS 6.2 or more whereas adapters can be used for any SAP or non-SAP systems,proxies are created on the application system itself,proxies run directly on integration engine where as adapters run on adapter engine(except Idoc adapter) and this adapter engine communicates with integration engine.

SAP systems 6.2 and greater than that have an inbuilt Integration engine, so it can send out the data to XI system in native XI-SOAP format itself to XI system

Simple explanation : R/3 >= 6.20 can communicate to XI system using XML messages directly

Proxies are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions. You can use proxies for systems with WAS >=6.20

XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies

Basically proxies are used for adapter less communication & main purpose of it is to bypass adapter engine.

Proxy generation enables you to create proxies in application systems. Proxies encapsulate the creation or parsing of XML messages and the communication with the relevant runtime components required to send or receive the messages. The proxy runtime controls these processes and can itself be controlled in application programs by means of additional methods.

We can generate proxies out of the message interface (inbound/outbound) defined in Integration repository.

Proxy generation converts non-language specific interface descriptions in WSDL into executable interfaces know as proxies. Proxies are executable interfaces in the application system.

There are two kinds of proxies:

1) Java proxies - generated in IR from WSDL description of interface u2013 results in .jar file containing generated java classes.

2) ABAP proxies - generated in application server with SPROXY transaction based on WSDL representation of message interface.

cheers

reward points if found useful

Former Member
0 Kudos

Hey,

As the adapter engine is by passed it takes less time to process.(improves performance)

Hence, we use proxy over adapter.

regards,

Milan

Former Member
0 Kudos

Hi ,

Proxies are nothing but a mechanism to shift the application logic from the XI server onto the sender or reciever system so as to reduce the effort on the side of XI.Depending upon where the proxies are generated ,it is differentiated as client proxy ( sender ) and server proxy ( receiver ) .In R3 system having WAS 6.2 and above its already has an inbuilt small IE so the proxy generation is favoured and possilbe,for more on this please go thru the following links

Proxies: are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions.

The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.

The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.

The Proxy currently has the following components available:

1. ABAP Proxy – Communication using XI or Web Services

2. Java Proxy– Communication using XI (J2EE)

For further reference, visit the following sites,

To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies

Testing proxy - /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

JAVA Proxies:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

ABAP Proxies:

/people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

/people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy

/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

Reward points if helpful.

Regards,

Soumya

Former Member
0 Kudos

Hi,

Proxy generation enables you to create proxies in application systems. Proxies encapsulate the creation or parsing of XML messages and the communication with the relevant runtime components required to send or receive the messages. The proxy runtime controls these processes and can itself be controlled in application programs by means of additional methods.

Since the communication between the sender and receiver is decoupled, you can use proxies to exchange messages with various different communication parties, and also by using adapters. However, this section of the documentation only discusses the programming model for the proxy runtime.

There are two types of Proxies.

Java Proxies and ABAP Proxies.

Java proxies are used when java applications needs to send and receive data and ABAP proxies are used when ABAP applications needs to send and receive data.

Please go through below docs

XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments

/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments

/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy

ABAP Proxy Runtime

http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

Setting Up Point-to-Point Connections with proxy

http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm

Reliable Messaging u2013 EOIO in ABAP Proxies

/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81...

Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 1

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 2

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903...

SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b...

How to Work with Java Proxies

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd2...

Java Proxies in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_...

Java Proxies in XI

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_...

SAP Network Blog: Pre requisites for Client Java Proxies

/people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

Thanks and Regards,

Phani Kumar

Former Member
Former Member
0 Kudos

Hi,

Instead of adapters why we are using proxies?

Thanks,

Bhavya

Former Member
0 Kudos

Hi Bhavya Kumari,

Proxy objects implement message interfaces from the Integration Repository. That is, you use proxies to implement the actual message exchange that is described in the Integration Builder.

You create proxy object in the development system by using proxy generation.

You can use message interfaces to create the following proxy objects:

u2022 ABAP proxy objects or

u2022 Java proxy objects

Proxy generation converts non-language-specific interface descriptions in WSDL into executable interfaces known as Proxies. Depending on the target programming language, you choose one of the following:

u2022 ABAP proxy generation is part of the SAP Web AS 6.40. ABAP proxy generation enables you to generate proxies to communicate by using the Web service infrastructure and by using SAP Exchange Infrastructure. ABAP proxies that were generated from message interfaces in the Integration Repository (IR) can be used in both infrastructures. This means that if none of the Integration Server services are required for a proxy-to-proxy communication scenario in ABAP, you can use a point-to-point connection using the Web service infrastructure instead.

u2022 Java proxy generation in the Integration Builder (Design) generates proxies from message interfaces in the Integration Repository. Java proxy generation packs the proxy objects in a Jar file, which you can save locally. You use the generated classes in J2EE applications on the SAP J2EE Engine.

All ABAP objects that are created when you generate an interface object from the Integration Repository in an SAP system are called ABAP Proxy Objects.

All Java objects that are created from a message interface from the Integration Repository in an SAP system, are called Java Proxy Objects. Multiple proxy objects are created in the system for each message interface (Java classes or Java interfaces).

Instead of adapters why we are using proxies?

XI has given an option to make integration with out Adapters also.

If the Sys is 6.2 or above version,they can interact directly with out adapters.So that

System performence will be increased .

Regards,

Ramesh.

former_member240483
Contributor
0 Kudos

1) What is Proxies in SAP XI?

Proxies are adapter less communication and we have two types Java and ABAP proxies....

ABAP proxies are used while communicating the SAP systemn either of the sides.

Using of proxies increase the performance of the interface.

Regards

Rao

Former Member
0 Kudos

Hi,

Instead of adapters why we are using proxies?

Thanks,

Bhavya

prateek
Active Contributor
0 Kudos

Proxy provides adapterless communication. We have 2 options. ABAP proxy and Java proxy. It is used to directly send data to Integration engine of XI.

Regards,

Prateek