cancel
Showing results for 
Search instead for 
Did you mean: 

HANDLING HTTP "GET" IN SENDER ADAPTER

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc211...

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.

Former Member
0 Kudos

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.

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

Only in PI 7.3 HTTP Adapter Supporting Get method, older version it is not possbiel to use.

Regards,

Raj

former_member854360
Active Contributor
0 Kudos

Hi,

You cant pull data using HTTP sender adapter in PI 7.1

Http sender only can receive.

For your requirement you need to use SOAP AXIS

markangelo_dihiansan
Active Contributor
0 Kudos

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