on 07-25-2011 10:55 AM
Hi,
I have a Scenario where I have to use HTTP GET Adapter to get data from a website daily to PI and Post the data from PI to SAP ECC.On the receiver end Idoc is being used.I need help on what to use (From sdn I came to know that Java Proxy or Adapter Module can be used ) and how to configure the sender adapter in this scenario.In case of Adpater module the steps needed to configure the scenario would be helpful.In case of Java Proxy sample code that would suit the scenario would be appreciated.
Hi Baskar Gopal,
Why would you prefer to use Java Proxy instead of Adapter module for the scenario I have mentioned?
Edited by: Ramya Reddy.V on Jul 26, 2011 9:28 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Both the options are feasible. If you are good in java programming you can do both. If not go for java proxy. In this way create sender proxy and pass those files to java team to do development. Plus Java proxy is easy task. When you upgrade to PI 7.3, you dont need adapter module. It is already comes with it. Using java proxy, you dont need to customize much. All you can handle in the application level coding. THis is my few cents.
Only 7.3 version (Latest) supports HTTP GET method. All previous versions support only POST.
In your case java proxy is better choice.
Refer these standard links.
http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
http://help.sap.com/saphelp_nwesrce/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
Basically you have to create java proxy for the outbound (sender) interface and use those proxy(stub) objects to code in java. Refer sender java proxy in the above link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am supposed to use HTTP GET at the sender side and cannot use SOAP on the sender side.The sender adapter is clearly mentioned and need help on handling HTTP GET on the sender side.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can use SOAP Axis Sender for your requirement. See SAP Note 1039369 FAQ XI Axis Adapter, then go to Sender Adapter General and then head to section 36. Can I periodically call some HTTP service and use its response to call the sender channel?
Yes. This can be achieved using the com.sap.aii.adapter.axis.ra.transport.http.HTTPGetter Receiver task. This task calls the specified URL using the GET request and its response is sent to the sender channel. The scheduling parameters can be set in the channel to specify the periodic triggering of the request. See a sample configuration of periodically calling a REST based GET service. For the availability of this feature, refer to Note 1448849.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Jul 25, 2011 12:03 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.