Skip to Content
Former Member
Apr 01, 2008 at 06:20 PM

Send XML Message via HTTP and Receive Response



We have a scenario where we need to update Currency Exchange Rates in R/3 via a 3rd party called Oanda. I'd like to use XI for this Interface, if possible.

Basically, we need to send XML over HTTP. Here's the URL and the XML we need to use for our POST (I'll need to perform the look-up for about 15 currency codes - I plan on using a BPM process to loop through each currency code specified in a flat file): TestAccount1 USD CAD 03/25/2008 >

And the reponse looks like this:







<DATE>Mon, 24 Mar 2008 20:00:00 GMT</DATE>





I plan on mapping each reponse to BAPI_EXCHRATE_CREATEMULTIPLE, using BPM.

So my question is this: Should I use the HTTP adapter for the out going POST to Oanda? If so, would the HTTP adapter be consider the sender or the receiver? Also, how would the XML message be automatically appended to the end of the URL (i.e., after the fxmlrequest parameter)? I guess I'm a little confused on how to use the HTTP adapter... Are there any blogs that discuss this type of scenario?