cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy Communication

anita_r
Explorer
0 Kudos

Hi All,

Can anybody please clarify me for the following.

What are Proxies?

What is Proxy communication.

Where Proxy communication is used i.e in which type of systems or situations.

What is the difference between server proxy and client proxy.

Thanks in Advance!

Thanks & Regards,

Anita.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Anita R ,

These r the answers for u'r questions:

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:1. Java Proxies. or 2. ABAP Proxies.

We can interface to XI through proxies. From WAS 6.20, proxy generation feature enables application systems to communicate with XI using proxies. 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.

There are two types of Proxies.

1. Java Proxies.

2. 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.

Proxy Generation

http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

ABAP Proxy Runtime

http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm

To activate ABAP proxies

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

Detailed step-by-step solution for ABAP proxies in XI

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

ABAP Server proxies

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

Debugging of Inbound ABAP proxies

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

File to R/3 via ABAP Proxy

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

How to push data from BI to XI using proxy

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b49...

How to push data into BW from XI using proxy

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21...

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

cheers!

gyanaraj

****Pls reward points if u find this helpful

aashish_sinha
Active Contributor
0 Kudos

Hi,

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:

· 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.

· 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.

Please refer http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

Proxies are interfaces that are generated in application systems to communicate with the Integration Server. Proxy u2018originalsu2019 are located in the Integration Repository, not in the application system. At design time, you use the Integration Builder to create the message interfaces you want to generate proxies for in application systems.

Refer http://help.sap.com/saphelp_nw04/helpdata/en/2a/02eff210ef4caa9a1ed4ab875c28e9/content.htm

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

Regards

Aashish Sinha

Former Member
0 Kudos

Hello Anitha,

Proxy is just a non language specific executable interface.

We use two kinds in XI videlicet ABAP and Java proxy.

ABAP proxy can be used with WAS version greater than 6.20

If u r wondering why we need ABAP proxy when we have a RFC..the reason is hat the overhead incurred is less in case of proxy and swift execution too.

There is a cliet proxy and a server proxy

The chief distinction betwen the two is :

Client proxy: Calls a webservice on the internet

Server Proxy : Provides an inbound interface as a webservice

for more details check

http://help.sap.com/saphelp_nw04/helpdata/en/c9/74246d8ad2447799063d39013e9a11/frameset.htm

Hope it helps!!!!!!

Edited by: Mohd Tauseef Ibrahim on Jun 19, 2008 10:15 AM

Edited by: Mohd Tauseef Ibrahim on Jun 19, 2008 10:19 AM

Former Member
0 Kudos

HI

Proxies are used to connect to the other systems when the kernel of WEB AS is > 6.40

Proxy communication starts with objects in integration repository and adapter communication starts with application system.

Proxy is a structure where there is no processing function module associated. You need to explicitly write the Business Logic/Call the subroutines here

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

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

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.

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.

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.

Note: For WAS release lower than 6.20 adapters are the only means to establish

connection. From WAS 6.20, proxy generation feature enables application systems to communicate with XI using proxies. Proxies enable adapter-less

communication (native connectivity).

You can get details about PrProxy : Proxy is a structure where there is no processing function module associated. You need to explicitly write the Business Logic/Call the subroutines .

Choosing of RFC adapter depends on the version of the system we r going to communicate.

Using RFC Adapter is the only option when we have SAP system with WAS 6.1 or older.

RFC Adapter may not be considered as the best option when we have WAS 6.2 onwards.

Proxys bypasses adapter engine & they communicate directly with IE .

Thru proxys

You can handle large amount of data

You can handle error messages

if you want to reduce the work load over XI server

then the best way is avoiding protocol conversion which adapters does(XYZ format to XML format)

if we use proxy which will be deployed on local proxy engine which in turn does protocol conversion instead of giving the job to XI.

i.e is (XYZ to XML format is done by proxy runtime and passed to XI at XI no conversion is done)

go thru this link :

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

.If you have a transfer the huge amount of data between two entities..you need to use Proxy..And communication is also effective with proxy,since it wont use any adapter and communicstion channel

.But if there is predefined RFC and the number of parameters are limited then we can go with RFC

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

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

/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

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - ABAP Proxy

http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm

http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd...

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

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

http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm

They are Client Proxy and Server proxy.

Client Proxy - When Java or R/3 is calling XI.

R/3 or Java -


> XI----


> Any Application

Server Proxy - When XI is calling Java or R/3

Any Application--


> XI--


> R/3 or Java

Activating ABAP proxies:

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

XSD Data Types vs. ABAP Data Types -- Quick Reference u2013 Part I

XSD Data Types vs. ABAP Data Types - Quick Reference u2013 Part II

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

ABAP CLIENT PROXY

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

ABAP SERVER PROXY

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

cheers

reward points if found useful

former_member194786
Active Contributor
0 Kudos

Hi Anita,

As we know, the role of SAP XIu2019s integration broker is basically to integrate SAP and non-SAP systems, as in the integration of an SAP R/3 system with a database using adapters. SAP XI provides various adapters to integrate different types of systems.

But in some of real-time scenarios, itu2019s not always a particular type of business system that has to send/receive messages with SAPXI; it can also be an application like ABAP or Java. To cater to these needs, SAP XI provides different ways to generate interfaces in ABAP and JAVA u2013 and these interfaces are known as proxies.

ABAP proxies are generated using the transaction SPROXY (in SAP Web AS 6.20 and above); for Java proxies, the Integration Builder tool is used.

Basicly client & server are just diffrent terminology for sender and reciever (client being the sender and server the reciever), proxies are basicly program that begin in one SAP system and continue running at nother SAP system (with control ultimatly return to the original system).

It's a good way to create your own application "envelope" to activate any code you want and that is both its strong point and weak point (maintanance and flexability).

Regards,

Sanjeev.

Former Member
0 Kudos

hi,

What are Proxies?

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.

What is Proxy communication.

The aim of proxy communication is to bypass the adapter engine thus providing an adapterless communication. With proxy you save on performance over using adapters and also it reduces complexity.

Where Proxy communication is used i.e in which type of systems or situations.

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

What is the difference between server proxy and 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.

Thanks,

Vijaya

Former Member
0 Kudos

Hi,

There are two Types of proxies which can be done by ABAP or JAVA

‘client’ proxy is used by an application to send messages outside of the system it resides in (normally to the IS in this context).

‘server’ proxy is used by an application to receive messages from sources outside itself (again, normally the IS in this context).

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

ON SDN TV

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

Get back if u not getting these...

These blogs will answer all your questions

Proxies are nothing but interfaces , which will directly communicate witht he IS with out any adapter. these are adapter less communication

Proxies Help file

http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm

How to Activate Abap Proxy

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

File to R3 via ABAP Server Proxy

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

ABAP Client proxy

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