cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Proxies.

Former Member
0 Kudos

Hi All,

Proxies are for adapterless communication. Then why we are using XI adapter? What is the use of the XI adapter? and in case of ABAP client proxy we are not using any adapter, but for ABAP server proxy we are using XI adapter? Why we are using XI adapter at receiver side in case of server proxies?

And for JAVA client and server proxies we are using XI adapter ? What is the reason behind it?

Regards,

Ramana.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

SAP provides some predefined adapters, we can use that adapters, when our requirement is not suitable to that adapters then we go for proxies, here we should write some code, instead of always writing the code the XI people provides some adapters.

In the proxi scenario we can use the XI adapter that is also for the inblund proxy(server proxy) not for client proxy, because for connecting the other systems it need adapter thats why the server proxy needs.

The above data for ABAP proxy.

agasthuri_doss
Active Contributor
0 Kudos

Hi,

1) We configure the XI Adapter to Exchange Messages with an Integration Engine. Both XI 3.0 and XI 2.0

message protocols are supported.

2) Wealso use the XI Adapter to Exchange Messages between SAP Exchange Infrastructure and the

Partner Connectivity Kit (PCK).

3) We can use security settings to sign messages and check the signature. We can Encrypt and Decrypt

message Payloads.

4) The XI Adapter as part of the Adapter Engine gets the required connection information for Sending XI

Messages to the Integration Server (IS) from the Landscape System Directory (SLD) and the Exchange

Profile (EP).

5) Sender XI Adapter: To receive XML messages from a Sender System

If messages are sent from the Integration Server to the PCK, we must create a Sender XI Adapter in

the PCK.

6) Receiver XI Adapter: To send XML messages to a Receiver System

If messages are sent from the PCK to the Integration Server, we must create a Receiver XI Adapter in

the PCK

Regards,

sangeetha

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

In Case of Client Proxies

Source application can directly interact with the XI by executing the report in SAP R/3 & will be able to send the XML data to IS,

So no need of the XI Adapter in this case to post xml to XI.

In Case of Server Proxies

Now XI has to post the xml data to the Target Application, here some thing shld be there to establish the medium with the Target System. So we use XI adapter here.

Basically XI adapter will be used in normal scenarios also to communicate integration Engine with Integration Server internally while delivering the msg.

Check this Msg Flow how the XI Adapter is used in Normal Scenarios

/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi

Regards

Seshagiri

Former Member
0 Kudos

I am not very clear myself on XI adapter issue.. and I have similar questions in the lines of Venkata.

Say for IDoc adapter, you use Receiver agreement because its the IDoc Receiver adapter that converts IDoc XML into IDoc for receiving R/3 system.

For IDoc Sender side, you do not use sender agreement because:

1. Conversion of IDoc to IDoc XML is done in XI ( instead of adapter) inlines of metadata visible in idx2.

Thats why you have a restriction of having only 1 IDoc message type per R/3 sender system.

Now coming to Proxy question.

Whether it is ABAP or Java Proxy the message format that sender/reciever system that understand is derived from Message Type from IR.

So, the proxy understand the message coming from / going into XI; and which is in XML format (SOAP/HTTP).

If that is the case, then what transformation XI adapter really does, other than being a holder of connection details with the client/server proxy?

Regards,

Edited by: Anirudh Vyas on Jun 3, 2008 2:20 PM

Edited by: Anirudh Vyas on Jun 3, 2008 2:29 PM

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

regards,

Phani

former_member556603
Active Contributor
0 Kudos

Hi,

XI Adapter

The communication via web service may have advantages, if you want communicate with non XI systems.

In your scenario, there is direct communication between XI engines, so you can go for XI adapter. The XI adapter which is normally used to configure the exchange of messages with in an Integration Server, canbe extended to exchange messages between the two Integration Servers in the scenario.

Purpose

You configure the XI adapter to exchange messages with an Integration Engine. Both XI 3.0 and XI 2.0 message protocols are supported. You also use the XI adapter to exchange messages between SAP Exchange Infrastructure and the Partner Connectivity Kit (PCK).

You can use security settings to sign messages and check the signature. You can encrypt and decrypt message payloads.

Features

· To receive XML messages from a sender system, configure the sender XI adapter.

Example

If messages are sent from the Integration Server to the PCK, you must create a sender XI adapter in the PCK.

· To send XML messages to a receiver system, configure the receiver XI adapter.

Example

If messages are sent from the PCK to the Integration Server, you must create a receiver XI adapter in the PCK.

XI Adapter in the Integration Server

A communication channel with a receiver XI adapter can be created automatically for business systems that are defined in the System Landscape Directory. See also: Structure linkCreating Communication Channels Automatically.

Configuring the Sender/Receiver XI Adapter Locate the document in its SAP Library structure

http://help.sap.com/saphelp_nw04/helpdata/en/4f/0a1640a991c742e10000000a1550b0/content.htm

Use

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:

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.

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

Debug your inbound ABAP Proxy implementation

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

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

Hope these links provide good help in Java 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/xi/java%20proxies%...

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

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

Thanks,

Satya

Edited by: SATYA KUMAR AKKARABOYANA on Jun 3, 2008 11:19 AM

Former Member
0 Kudos

Hi Venkata Ramana,

Usually Proxy communication is referred as adapterless communication though you use XI adapter for Server proxy.

Adapters does two tasks for us as follows:

1. Convert the message from any format to XML and vice versa

2. Connect to system either for picking the message or receiving the message

Consider Client Proxy:

Here source system sends the message to XI in XML format.

Understand here that XI is not connecting to source system to pick up the message. Therey by connection is not required to maintain, and the message is coming in XML format. So conversion is not required. Hence you do not require any adapter.

Consider Server Proxy:

Here you need to send the message to the target system in XML format. Understand that XI needs to connect to the target system without which posting of the message is not possible.

So for connection purpose we require Adapter and we do not require it for conversion of formats. Hence XI adapter sends XML message without any conversion of formats, but uses the target system details to post the message.

Hope you understood and your query is resolved.

Reward if your query is answered.

Regards,

Suraj Kumar