cancel
Showing results for 
Search instead for 
Did you mean: 

When and Where and how to use Proxies

Former Member
0 Kudos

hi

New to Xi Can anyone explain When and Where and how to use Proxies

Mohit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mohit

please go through follwing blog

/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems

ABAP proxies have many advantages for instance; they communicate with the XI server by means of native SOAP calls over HTTP (RFC does not, so you have to convert from SOAP to RFC calls and vice versa). ABAP proxies supports two different protocols; XI and Web Services. Most important is that they can be used for both synchronous and asynchronous communication (RFC/BAPI is basically only intended for Synchronous comm. which asks much more system resources from your XI system).

If you use ABAP proxies you can also avoid mappings, i.e. you can use the same message type definition for both input and output interfaces.

.For ABAP Proxy's go to transaction SPROXY of your application system i.e SAP system on WAS 620+

Choose your message interface in sproxy, rt click and choose create . it will generate the ABAP proxy (inbound/outbound) based on the message interface defined in IR i.e nothing but the ABAP calsses with DDIC structures and method EXECUTE_ASYNCHRONOUS/EXECUTE_SYNCHRONOUS based on the direction of Message interface defined in IR.

Thanks

Abhishek

****Reward points if helpful*******

Answers (2)

Answers (2)

Former Member
0 Kudos

hi mohit,

Consider a situation

There is SAP R/3 system.

Now you are inserting a record into the the table, now you have to transfer this record to other third party system through XI.

But as you can see there is no self initiation process to send it to XI. Now here we can use proxies

this is one of the case where we can use Proxy.

Regards

Ramesh P

nisarkhan_n
Active Contributor
0 Kudos

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)

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

ON SDN TV

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#

Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.

ABAP Proxies uses Webservice and Http Protocols. And if you use RFC it is mainly meant for Sync. call. But Proxies is used for both Sync and Async.

If you use ABAP Proxy , you can reduce the overhead calling the function again and again.

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy

/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

If u generate proxy for outbound interface then its client proxy and for inbound interface its server proxy.

In client proxy u can call the method to send messages but u can't modify it but in server proxy its possible to write a user code within the method to execute proxy.

CLIENT PROXY:

A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.

SERVER PROXY:

You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.