cancel
Showing results for 
Search instead for 
Did you mean: 

proxy

Former Member
0 Kudos

Hi guys,

plz help me.plz told me about ABAP-PROXY and JAVA-PROXY.

with warm regards.

vikash

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi,

To connect to SAP system with WAS >= 6.4, ABAP proxy is used.

Is it like that in SAP systems we use ABAP proxy and non-sap systems we use JAVA proxy ??

Also, Java Proxies cannot be used for any non-SAP application. it is generally used for communication with Java Application

You can refer to the below links

Java Proxies Refer

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b0...

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

https://weblogs.sdn.sap.com/pub/wlg/3531 [original link is broken] [original link is broken] [original link is broken]

/people/thorsten.nordholmsbirk/blog/2006/08/06/use-a-java-proxy-instead-of-a-jca-adapter

Abap Proxies Refer

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

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

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

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

/people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation

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

****************Reward points,if found useful

Edited by: BVS on May 19, 2008 11:53 AM

Former Member
0 Kudos

HI

XI has great flexibility for communications with external systems. This flexibility is provided from two main sources:

1. Adapter Runtime: These are the SAP or 3rd party supplied adapters that allow XI to communicate with external systems. .

2. Proxy Runtime:

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

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 thiThe ABAP Proxy Runtime is used within SAP Web AS 6.40 environments. It provides a uniform programming model for the following types of communication scenarios:

1. From / To an ABAP Application:

This method is used by ABAP Applications (in a Web AS 6.4 or greater system) for exchanging messages with the IS using ABAP Proxies. Both synchronous and asynchronous exchanges are supported.

In an ABAP Proxy client scenario, an ABAP application utilizes an ABAP Proxy to send a message from itself to the IS in XI Protocol (XML) format. Conversely in a server scenario, the ABAP Proxy receives a XML message from the IS and converts it to be received by the ABAP Application.

ABAP Proxies are created via ABAP Proxy generation.

2. From / To an ABAP Web Services:

The Web Service side enables the following scenarios:

1. Client Proxy only: Allows calling a Web Service on the Internet (synchronous only). This does not require XI services or the IS

2. Server Proxy only: Allows using an inbound Message Interface as a Web Service (synchronous only). Generating the server proxy requires a Message Interface within XI (Repository)

3. Point to Point: If none of the XI services are required (mapping, routing, multiple receivers, etc) then messages can be sent directly using the Web Services Framework from one SAP Web AS 6.40 system to another.

JAVA Proxy Generation:

Java Proxy Runtime enables and manages connectivity between Java Proxies and the IS. It can be installed on SAP J2EE Engine Release 6.30 SP3 or higher, and currently this J2EE engine is the only one supported by the Java Proxy Runtime. As of SAP NetWeaver 2004 the Java Proxy Runtime is installed with and integrated into the J2EE Adapter Engine. This Adapter Engine implements queuing, persistence and monitoring services required to guarantee asynchronous communications. However, both synchronous and asynchronous communications are supported.

In a Java Proxy client scenario, an Java application utilizes Proxy Beans to connect to the Java Proxy to send a message from itself to the IS in XI Protocol (XML) format. Conversely in a server scenario, the Java Proxy (consisting of a EJB bean for message handling) receives a XML message from the IS. This bean in turn calls the application bean registered for that inbound interface. Beans are used in sending and receiving messages from a J2EE application.

Java Proxies are created via Java Proxy Generation.

Go through the following blogs on Proxies to get better understanding.

PROXY BLOGS:

/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

cheers

reward points if found useful

Edited by: vemuganti naga phalguna on May 19, 2008 11:54 AM

former_member556603
Active Contributor
0 Kudos

Hello,

Proxy Generation

Purpose

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.

How to create proxy.

http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm

How to Activate Proxy.

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

ABAP Server Proxies (Inbound Proxy)

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

OutBound Proxy (Client Proxy)

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

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

File to R/3 via ABAP Proxy with good example

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

Java Proxy

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

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

http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b20...

https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb890...

Satya

Former Member
0 Kudos

Hi,

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.

/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/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

Java

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy - Server Proxy

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy - Inbound Java Proxy

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

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7e...

Thanks,

Soumya.

former_member187563
Contributor
0 Kudos

hi,

you use proxy in case you dont want to use a adapter and your was should be >6.2

for abap proxy refer:

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

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

for java proxy refer:

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

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

regards,

ujjwal kumar

Former Member
0 Kudos

Hi,

If the Sender/ Receiver Application is based on ABAP application Means we will use ABAP Mapping

If the Sender/ Receiver Application is Based on JAVA application means we will use JAVA Mapping

ABAP Client Proxies

/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

How do you activate ABAP Proxies?

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

JAVA Server Proxies

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc21...

Regards

Seshagiri

former_member537867
Active Contributor
0 Kudos

Hi Vikas,

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.

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.

1. Proxies can be a server proxy or client proxy. In our scenarios we require proxies to send or upload the data from/into SAP system.

2. One more thing proxies can be used if your WAS u2265 6.2.

3. Use Tcode SPROXY into R/3 system for proxy use.

4. To send the data from R/3 system we use OUTBOUND PROXY. In Outbound proxy you will simply write an abap code to fetch the data from R/3 tables and then send it to XI. Below is the sample code to send the data from R/3 to XI.

Follow the fallowing Blogs..

How to create proxy.

http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm

How to Activate Proxy.

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

ABAP Server Proxies (Inbound Proxy)

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

OutBound Proxy (Client Proxy)

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

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

File to R/3 via ABAP Proxy with good example

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

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

Synchronous Proxies:

Outbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bp...

Inbound Synchronous Proxy

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsa...

Regards,

Vinod.

Former Member
0 Kudos

Hi,

Proxies are used for connecting to SAP systems.....

when you design new integration scenarios in SAP systems which are based on Web AS 6.20 or higher.

Proxies support both Synchronous and Async. Connectivity.

and for inbound interfaces are called server proxies.

Prerequisties foe abap proxies:

-register queues in sxmb_adm.

-HTTP destination on SAP system (on which proxy is developed) pointing to XI system.

configure your SAP system to act as IE using SXMB_ADM transaction.

go thru my articles to get familar wth proxies

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/java%20proxies%...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/f272165e-0401...

also go thru this blog for abap proxies

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

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

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

/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies

java:

/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy

/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy