Skip to Content
author's profile photo Former Member
Former Member

Hi! I need steps for HTTP Receiver adapter

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!

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 15, 2006 at 07:15 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2006 at 07:32 AM

    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 doesnÂ’t 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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 15, 2006 at 07:09 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 12:00 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I have also the same problem.

      I have the payload which consists out of a textfile. It will be there in the monitoring till to the "Technical Routing" but at step "Call Adapter" (plain_http_adapter) the payload vanishes.

      Any hints are highly appreciated.

      best regards

      Peter

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 01:54 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.