on 12-10-2007 2:54 PM
Any body please tell me what is proxy in XI and Please send me the sample code for proxy .
If Iam Integrating SAP to Oracle by using XI. How I will Extract the data from SAP and sent to XI.Please send me with scenario Example and Please explain me.
Points are granted immedietly.
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.
ABAP Proxy Objects
Definition
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.
You can divide the different interface objects (the objects from the Integration Repository from which you generate proxies) into two classes: The message interface itself and the corresponding parameters and data types (also see: Converting WSDL to the Target Language). Each generated proxy object can be assigned to its corresponding interface object in the Integration Repository even after generation. The ABAP proxy generation function notes this assignment using metadata, which is transported with the proxy object.
Java Proxy Objects
Definition
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).
You can divide the different interface objects into two classes: The message interface itself and the corresponding parameters and data types (also see: Converting WSDL to the Target Language).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
SAP--XI-Oracle
IDOC to JDBC
refer this:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
you can refer these two blogs to configure ur IDOC sender and JDBC receiver
similary you can also have RFC to JDBC or BAPI to JDBC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can extract data from SAP either by RFC or Proxy. Since you want to send data from SAP, you have to go with Client proxy.
Please search for blogs and forums for this. There are plenty of blogs available on this matter.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naresh,
Steps for Client and Server Proxy
Server Proxy
1) Create Data Type, Message Type and Inbound Interface of the message in IR
2) Once we create interfaces in IR you can see them in R/3 SPROXY transaction based on the configuration done.
3) Go to R/3 system SPROXY and select the interface that we want to generate server proxy. Right click and generate.
4) This will generate an ABAP Interface class and ABAP Class.
5) ABAP interface will be having method definition that need to be implemented.
6) ABAP class needs to be coded to give the necessary functionality.
7) Once we have ABAP code written in that ABAP class we have Proxy ready in the server.
8) In XI Configuration we will be setting up Receiver communication channel of adapter type XI. The destination can be either URL type or HTTP Destination type. In either type we use same URL for R/3 XI engine. When we create HTTP destination it will be of type HTTP ABAP type.
Client Proxy
1) Create Data type, Message Type and Outbound Interface of the message in IR.
2) Once we create interface it will show up in R/3 system SPROXY
3) Go to R/3 system SPROXY and select interface that we want to generate client proxy. Right client and generate.
4) This will generate ABAP Classes with methods and all necessary code. ( there is no interface created here as in Server proxy).
5) Once we have Client Proxy created it is ready to use.
6) To use Client proxy, in ABAP code we instantiate the client proxy class with all the data Client proxy class needs and it will trigger proxy call.
7) So, once Client proxy is created we do not change that proxy class as such. But from some other ABAP code we instantiate that client proxy.
8) In XI we have to create Sender communication channel of type XI
Thanks
Amaresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.