on 2006 May 15 7:59 AM
My scenario is like this:
HTTP(HTTP Sender adapter)->XI->File(File adapter).
For this Iam sending the data as payload in the body of HTTP. Now What am i going to do is the opposite of above scenario:
File(FileAdapter)->XI->(HTTP Receiver Adapter)HTTP.
I would like to know what are the steps to transfer a file(xml) from File adapter to XI and from there to Http.
How to send the data using File adapter. Please suggest me some steps.
Hoping a quick response!!!
Thanks in advance!
Check this link which talks abt file to file scenario. You will get more clear on how to configure sender file adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Datta,
In File to XI and from then to HTTP Scenario,
1) In Sender file adapter everything is common and use FTP as Message Protocol.
2) Receiver HTTP: Use this link what you need to do on the receiver side. Here it shows the parameters which are mandatory are to be fill and do the rest are the same.
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm
Abdullah Shaik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess it would be almost similar now you need to configure File Sender adapter and HTTP receiver adapter.
In File sender side, since its an XML file, you should load the XSD/DTD to define your message type, then message interface, message mapping, interface mapping.
On HttpReceiver adapter side, specify the http url you are going to invoke.
--Archana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Datta,
For a HHTP -> XI -> FILE Scenario:
DESIGN:
1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
2. Create MessageTypes for the two datatypes.
3. Create Message Interfaces. The One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
4. Do the mapping. It will be mostly a one to one mapping of the fields.
5. Create the Interface Mapping.
Configuration:
1. Import your Business System under your Configuration Scenario.
2. Create 2 communication channels. One for Http as a sender and one for File as a receiver.
Check these links for the configuration part.
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
3. Do the Receiver Agreement for file. HTTP doesnt need a sender agreement.
4. DO the Receiver Determination and Interface Determination.
Weblog which talk about the same scenario:-
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
(use case) and explained it...
Check this SDN tv demo, it has detail of HTTP adapter setup.
https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
Refer to this link for adapter settings.
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
You should also have a HTTP client to send message to XI. In the connecting parameters to XI u have to use the URL in the pattern mentioned by Alex. U have to give all the configuration details in the URL.
Regards,
Abhy
Message was edited by: Abhy Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhy!
I have done this scenario HTTP->XI->File
Now I want to do the next part i.e., File->XI->HTTP.
Can you give me the steps how to do that.
I have to use HTTP Adapter as Receiver.I just need to write a java application(JSP) that listens the XI and displays the xml file in browser.How to do that?
Thanks in advance!
Hi Datta,
Were you ever able to implement the File -> XI -> HTTP scenario? I'm about to implement a similar scenario. My scenario, however, uses a plain text file instead of an xml one. I would like to read tab delimited file and be able to send it to a webserver using HTTP post. Is that possible?
Do you have any sample code to the scenario you implemented?
Thanks,
Alaa
HI datta,
The steps are simple,
First configure a sender file adapter. Use the protocol ftp if you have an ftp server or use NFS protocol.
In case of NFS you will have to share a folder on the server where your Adapter engine runs.For ex. if you are using the central AE(ON XI itself), then you will have to share a folder on XI server. Place your xml file there in shared folder.
While configuring sender file adapter give the address of the shared folder and name of your file.
Give polling interval as 600 secs(It depends how frequently u want to poll the file.)
Similarly create a new receiver HTTP channel.
Rest steps will be same as creating new Reciever determination , Interface determination and Reciever agreement.
Here you will also have to create a new sender agreement.
Yomesh
Message was edited by: yomesh P Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.