on 07-25-2007 10:31 AM
Hi,
The scenario is this - I need a resource from an XML file located at http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml.
This is updated daily with latest data. I have a report program that needs to fetch this file every evening.
So, I create an Synchronous Outbound interface and create an ABAP proxy to trigger it. This proxy will be called in the Report.
I also create an Inbound interface for the Website. Now what adapter can I use?
HTTP? SOAP? or FILE?
And after I manage to get the file, where is the best place to write a transformation to convert the file to my internal format? In the XI or via a ABAP Transfromation in the backend system?
Hi Karthik,
I'm not sure it's possible to do what you are trying with the HTTP adapter.
My solution would be to build a simple synchronous inbound Java proxy to achieve this. The URL could possibly be set in the request message (this will allow you to change the destination if the URL changes, without having to make java proxy code changes). The response will then contain your XML payload which will be delivered all the way back to your outbound ABAP Proxy.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Some progress now.
I managed to configure HTTP receiver for this scenario using an RFC destination (type - HTTP destination to external server). I now expect the response to be the XML contents of the file, as a string.
Now, I get the error message: "<i>The requested method POST is not allowed for the URL</i>".
How do I configure XI to execute a GET request instead of POST? Any other solutions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I need to clarify a bit here:
My scenario is to Download a file (XML content) from the mentioned URL and then transform it.
So, my Outbound Interface is with the Proxy, using XI Adapter. This I already have.
My Inbound Interface (receiver) must communicate to the URL and fetch the file.
Perhaps, the synchronous response if a string representation of the entire file, I do not know. The question is what adapter do I use for the receiver and what config settings?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
>>>My scenario is to Download a file (XML content) from the mentioned URL and then transform it.
There is no standard adapter which provides this functionality.
You can consider the option of Java proxy to achieve this.
Or expose the functionality of the website as a web service. If you can do this, then you can go for SOAP adapter. File and HTTP adapters will not help you here.
Regards,
Jai Shankar
Hi,
Anything that involves PROXIES default XI ADAPTER as for File -> at the receiving end file adapter.
Second Part in the XI.
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to use XI adapter for proxy communication
for sender , it is the file adapter
Receiver , it is the XI adapter for the proxy
regards
krishna
Message was edited by:
Krishnamoorthy Ramakrishnan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.