Advanced HTTP Receiver Configuration

Hi Experts,
In my Business Scenario I am using the HTTP Receiver Adapter with "Additional Query String Attributes" for adding up the "MessageID" in the HTTP Header(I am not sure whether it will be added there).. and the adapter sends the HTTP data to a URL, where there is a JSP program which takes out the Message ID and stores the data with ID as key in a dataBase.
My Quesiton is - Is their any chance to override the MessageID in the HTTP Header?
And also please refer some documents where can I find the detailed information on "HeaderFields" section in Receiver HTTP adapter... and also how can I see the HTTP Header data which is generated by XI system...
Thanx in advance..

Hi Yuvaraj
Is their any chance to override the MessageID in the HTTP Header?
You can using the Header fields. Add values here
how can I see the HTTP Header data which is generated by XI system..
You can go to SMICM change the trace level to 3 and you can see messages going out of PI.
Thanks
Gaurav

Similar Messages

  • HTTP Receiver Configuration

    Hi Experts,
    In my Business Scenario I am using the HTTP Receiver Adapter with "Additional Query String Attributes" for adding up the "MessageID" in the HTTP Header(I am not sure whether it will be added there).. and the adapter sends the HTTP data to a URL, where there is a JSP program which takes out the Message ID and stores the data with ID as key in a dataBase.
    My Quesiton is - Is their any chance to override the MessageID in the HTTP Header?
    And also please refer some documents where can I find the detailed information on "HeaderFields" section in Receiver HTTP adapter... and also how can I see the HTTP Header data which is generated by XI system...
    Thanx in  advance..

    hi
    u can see the Header data in SXMB_MONI transaction.
    select the IDOC and u can see the complete IDOC information with payloads ,header information,error information for both Inbound and outbound.

  • Receiver HTTP channel configuration

    Experts
    I am doing Proxy to HTTP scenario.
    My receiver had given the HTTP URL whcih looks this : http://10.1XX.X.XXX:6666/IntegrationServices/Test
    In my receiver HTTP communcation channel , Its asking for the following
    Target Host
    Service
    Path Prefix
    Can I fill in target host as : 10.1XX.X.XXX
    service number : 6666
    path prefix as : IntegrationServices/Test
    Can anyone please tell me how to fill the  CC parameters.
    I had referred lot of threads and blogs
    Thanks
    Faheem

    Hi Patrick
    I had checked the blog as per suraj recommendations. It doesn't help.
    Is there any pre settings has to be done for HTTP receiver configuration like defining RFC or any entries in ICM server
    Please throw some light on this. still i am getting the same error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP client code 400 reason ICM_HTTP_CONNECTION_FAILED</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Thanks
    Faheem

  • HTTP Receiver without charset in SP18

    Hi,
    I have a scenario, in which I am sending data to external server using HTTPS Receiver.
    In configuration I have following values :
    1) Content Type:   multipart/mixed; boundary=BOUNDARY
    2) XML Code ( charset) :   UTF-8
    With these settings XI message is going to external server.But external server is not processing the message correctly because it <i>expects XI message <b>without</b> "charset"</i> (XML Code configuration in XI)
    In HTTP receiver configuration XML Code(charset) configuration is mandatory. I tried to put other charset values. But as external server expects messages without charset, it is not working.
    BTW, this same communication channel was working OK when we had SP14. we recently had our system upgraded to SP19 and it stopped working. On researching found charset is the problem. I sent same payload to the external server using another HTTP client without charset and it is working ok.
    Is there any way we can configure HTTPS Receiver ( in SP18 ),so that we can send payload to extenal server without charset (XML Code) value.
    Any input/pointers will be greatly appreciated.
    -Venu

    Hi Venu,
    Install note 1038911 in your system.
    The note is not translated to english yet, but it should work anyway.
    Regards
    Stefan

  • HTTP receiver adapter: dynamic configuration

    I was told that if I have a URL and some parameters, I can use a sync HTTP receiver adapter to call a site.
    I know this can be done using some kind of dynamic configuration, but I am not familiar with this adapter.
    The most important question here is that I need to know if this can be done throw PI, so my question is:
    Is there a parameter limit in the HTTP adapter? If so, what is the quantity of parameters that I can give to the adapter?

    for the ASMA parameters you can use for the HTTP receiver adapter check
    Configuring the Receiver Plain HTTP Adapter - http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm

  • HTTP Receiver adpater configuration for Web Application server

    Hello All,
    I am trying to configure a HTTP scenario. I want to configue the receiver HTTP channel to connect to the WebApplication server installed locally.
    I am able connect to the WebApplication server from by browser by giving the URL http://inld50037931a.dhcp.blrl.sap.corp:8080/hello/.
    In my receiver HTTP channel i have configure as below
    Target Host : inld50037931a.dhcp.blrl.sap.corp
    Service Number : 8080
    Path : /hello.
    But it is failing in run time with error in SXMB_MONI : HTTP-Server Code 500 Reason Internal Server Error Explanation Unknown Host.
    And i checked the Trace and it is looking for taget URL :
    http://inld50037931a:8080/hello
    instead of
    http://inld50037931a.dhcp.blrl.sap.corp:8080/hello
    Kindly help me in correcting the receiver channel configuraion.
    Best Regards,
    Biswa

    Hi Babu,
    The given links might help you:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    HTTP Receiver Adapter
    Regards,
    Ajay.

  • HTTP receiver Adapter configuration

    Hi All,
    I want to post an XML message using HTTP Receiver Adapter for my BPM scenario (Idoc to HTTP service)
    The receiver has Oracle gateway and it expects message in following format.
    HTTP Header
       Http–Version: HTTP/1.1
       Authorization: Digest username=”myusername”,
                             realm=”[email protected]”,
                             nonce=”dcd98b7102dd2f0e8b11d0f600bfb0c093”,
                             uri=”/dir/index.html”,
                             qop=auth,
                             nc=00000001,
                             cnonce=”0a4f113b”,
                             response=”6629fae49393a05397450978507c4ef1”,
                             opaque=”5ccc069c403ebaf9f0171e9517f40e41”
                             Content–length: 12345
                             Content–type: text/html
    HTTP Body
       TRANSPORT_PROTOCOL=OXTA
       TRANSPORT_PROTOCOL_VERSION=1.0
       REQUEST_TYPE=SEND
       MESSAGE_ID=A1234567890ZZ0987654321
       MESSAGE_TYPE=XML
       MESSAGE_STANDARD=OAG
       TRANSACTION_TYPE=PO
       TRANSACTION_SUBTYPE=PROCESS
       DOCUMENT_NUMBER=12345
       PARTYID=9999
       PARTY_SITE_ID=8888
       PROTOCOL_TYPE=HTTPS–OXTA
       PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
       transportAgentServer
       USERNAME=myusername
       PASSWORD=myloginpassword
       ATTRIBUTE1=
       ATTRIBUTE2=
       ATTRIBUTE3=
       ATTRIBUTE4=
       ATTRIBUTE5=
       PAYLOAD=<xml ... ...>
    I think this is not a typical HTTP URL type of format, is it?
    And I am not sure how I can build the message. Where do I put the parameters like TRANSPORT_PROTOCOL, TRANSPORT_PROTOCOL_VERSION, REQUEST_TYPE etc in the HTTP adapter?
    Also is there any place where I can see the final actual XI message that is sent to HTTP service?
    Any help will be really appreciated.
    Thanks and regards,
    Rahul.

    Hi Rajeev,
    The receiver system should have the details about the content type it expects. I got that from the team who monitors our receiver system.
    The HTTP Body of HTTP adapter is made up of PrologPayloadEpilog.
    So I added the paramter list that receiver system expects as part of the Prolog. Refer to the HTTP body that I have posted in my earlier message. Out of that till ".....Payload=" is added to Prolog and XI then appends actual payload to it.
    To be precise -
    TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&MESSAGE_TYPE=XML&MESSAGE_STANDARD=UNIVERSAL&TRANSACTION_TYPE=XXXE&TRANSACTION_SUBTYPE=ORDER_I&DOCUMENT_NUMBER=PO12345&PARTY_SITE_ID=ESAP_ORDER_I&USERNAME=***&PASSWORD=**&PAYLOAD=
    So in the end it worked out well.
    Cheers,
    Rahul.

  • PI 7.11 - Sync HTTP receiver adapter with response XML file

    Hi
    We have a File to HTTP scenario in which we need a sync HTTP interface. We send a file to the HTTP address and receive a XML acknowledge. As I read in this forum: sync HTTP interfaces are not possible with the "standard" HTTP adapter. So I found an entry which recommended to use the SOAP adapter instead.
    I configured it:
    - Do Not Use SOAP envelope
    - modules: RequestResponseBeans, CallSapAdapter, ResponseOneWayBean
    If i use this scenario, i get following error in the RWB - Message Display Tool:
    Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.Message.getMessageId() of an object loaded from local variable 'message1'.
    I testet this scenario using CURL and it worked properly. Should this kind of scenario work with the SOAP adapter or do I need to buy/develop an own adapter? Is in NW7.3 possible to configure sync HTTP scenarios?
    Thanks in advance
    Michael

    Hi
    actually i use a simple HTTP receiver CC with the setting "XI Payload in HTTP Body" to send a XML datafile to a webpage (java servlet). This part works fine by now. But, this servlet would also send back a status information to the state of the received datafile, which I like to catch.
    e.g. HTTP response from the servlet (catched using CURL):
    HTTP/1.0 403 Forbidden
    Server: Apache-Coyote/1.1
    X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548)/Tomcat-5.5
    Set-Cookie: JSESSIONID=OALHMomjR9TVgIATi8SrPQ**.ajp13_ls_1; Path=/ls
    Content-Type: text/xml
    Date: Tue, 06 Mar 2012 16:19:56 GMT
    X-Cache: MISS from proxy.xxxx.com
    Via: 1.0 proxy.xxxx.com:xxxx (http_scan/4.0.2.6.19)
    Proxy-Connection: close
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE transportordersfromls [ <!ELEMENT transportordersfromls (userid, clntid, msgid, (transportorderfromls+ | error))> <!ATTLIST transportordersfromls vers CDATA #REQUIRED> <!ELEMENT userid (#PCDATA)> <!ELEMENT clntid (#PCDATA)> <!ELEMENT msgid (#PCDATA)> <!ELEMENT transportorderfromls (refid, status)> <!ELEMENT refid (#PCDATA)> <!ELEMENT status (ok | error+)> <!ELEMENT ok EMPTY> <!ELEMENT error EMPTY> <!ATTLIST error reason (XMLError | SystemNotAvailable | ApplicationError | OTHER) #REQUIRED message CDATA #REQUIRED> ]>
    <transportordersfromls vers="1.0">
        <userid/>
        <clntid>XXXXX</clntid>
        <msgid>0</msgid>
        <error reason="OTHER" message="Access denied"/>
    </transportordersfromls>
    Michael

  • HTTP RECEIVER QUERY

    hello everyone,
    I have to develop a synchronous scenario, SOAP Sender to HTTP Receiver.
    Soap sender will be passing suppose 2 fields Name and Employeeid and the Http receiver will be replying back the 
    response with entire employee details (name, id, address, dateofbirth, etc).
    Http receiver has to be accessed via a URL like 
    https://abc.com/test/servlet/ServletInterface?command=getdetails&emp_name=<Name>&emp_id=<Employeeid>
    This is an https request, henc an RFC destination needs to be configured in XI and SSL has to be activated but how will i add the parameters Name and Employeeid to the URL mentioned in the RFC destination.
    i went through many blogs on SDN, but i could not figure out how to append the URL mentioned in the Http Destination. Is it possible to do dynamic configuration with SSL enabled.
    i tried passing URL https://abc.com/test/servlet/ServletInterface?command=getdetails in the HttpDestination and also configured a mapping for dynamic configuration but with no success.
    please let me know if i am on the right track. if not please suggest.
    thanks in advance.
    Edited by: praveen kalwa on Feb 22, 2008 1:33 PM

    Hi,
    XI supports only PUT method of http request. While adding parameters to the addr string is considered as a GET method.
    Refer following blog in this regard.
    /people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
    -Kavita

  • RFC TO HTTP receiver scenario.Adding file name to HTTP receiver

    Hi All,
    Scenario is ZBAPI  ->XI-> HTTP conncetivity to EXternal Partners .
    ZBAPI sends the Partner data informtaion to XI .  I need to create a Partnerdata xml in XI and pass it to HTTP Connectivity (Certificates ) to External Partners
    Connectivity is working but I need to add the time stamp to the Partner data xml in the HTTP Receiver .
    I dont get the time stamp in ZBAPI
    I checked many blogs to create UDF of getfilename, dynamic configuration , but here there is no FTP sender channel .
    Can someone help me in giving ideas as hope to assign the time stamp in runtime to HTTPS Receiver Channel .
    Thank you ,
    Best Regards,
    Vara

    Hi Vara,
    In your question you actually mentioned three different communication methods (HTTP, HTTPS and FTP), but only one of them can really work with files and it is the FTP adapter. Moreover, what you need is the Receiver FTP Communication Channel, not the Sender one (as you need to deliver your message to an external system, not to collect it from there). What you need to do is find your Receiver Communication Channel, go to Advanced tab and mark "Use Adapter-Specific Message Attributes", as well as the File Name (that appears once you mark the first one). Then, in your message mapping, you just put the current timestamp to the respective dynamic configuration parameter. Find an example of how to make the whole change [here|http://www.****************/Tips/XI/ASMA/Index.htm].
    However, if I misunderstood you and you need to use the current timestamp in the message body instead of the file name, it will be even simpler. In this case, just go to your Message Mapping and in the target field, put the "currentDate" function from the "Date" group, then double click on it, click the "extended view" button and put your expected date and time format.
    Hope this helps,
    Grzegorz

  • Service Number/Port Number in HTTP receiver adapter

    Dear Experts,
    I have a scenario where I am to do HTTP Post to a 3rd party web application via a url in the following format:
    https://x.y.info/abc/sap/customer.cgi
    The HTTP Post data is submitted to the CGI script which is then processed further by the web application. The URL works ok via IE or even PI soap receiver adapter is able to post XML message to the URL but using SOAP.
    But I have to do only HTTP Post and now my problem is that the URL dont have a so called port number that I can fill in the "Service Number" field in HTTP receiver channel or in SM59.
    Does SAP always need a service number or how to deal with this case where server doesnot expose the port.
    Thanks in advance.
    Br
    Suman

    Hello,
    The HTTP Post data is submitted to the CGI script which is then processed further by the web application. The URL works ok via IE or even PI soap receiver adapter is able to post XML message to the URL but using SOAP.
    By definition, the SOAP Adapter is also using HTTP POST as its HTTP method the only difference is that there is a SOAP Envelope that is being sent.
    But I have to do only HTTP Post and now my problem is that the URL dont have a so called port number that I can fill in the "Service Number" field in HTTP receiver channel or in SM59.
    Service number is the port number of the URL that you will be connecting to, if it is not shown, it is assumed that it is 80 for http and 443 for https (as Gzegorz mentioned). Since you are using HTTPs, you should use HTTP Destination that points to an SM59 configuration.
    Hope this helps,
    Mark

  • Code 110 Reason Error in HTTP Receiver adapter

    Hello
    I am having proxy to HTTP Receiver scenario in which i am calling the target application URL through HTTP Receiver Adapter. This interface is async interface and hence i am not expecting any response from the target system.
    When i execute my interface the target system receives data from XI but in SXMB_MONI it sets the status of the message as "<b>Automatic Restart</b>" with the error description as "<b>HTTP client. Code 110 reason</b>"  in HTML Code area <b><SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code></b>
    This is causing multiple messages stuck in the queue and presently i am manually clearing all the messages.
    i checked the quality of service of the incoming message which is correctly setted as <b>Exactly Once</b>.
    Is there any configuration missing?
    Thanks in advance.
    Regards
    Rajeev

    Hi Rajeev,
    1.)Check in SMICM if your HTTP service is running or not.
    2.)If its running fine then you can check whether your SSL certificate is configured properly or not.
    Also follow the below mentioned links :
    HTTP 110
    HTTP Receiver Adapter -> HTTP client code 110 reason error when sending
    *Pls reward with points if helpful*
    Regards,
    Shibani

  • HTTP receiver problem

    hi all,
    though some of u replied to my previous post regarding http receiver, i'm unable to find a solution for it....so if possible please send me a few snapshots of how a HTTP receiver is configured and a sample jsp program for accesing the payload sent by xi......
    the scenario is http>xi->http..the thing is
    1)xi gets the input from a web page..this is successfully done.
    2)xi does the mapping...this is also successfully done..
    3)xi send the mapping result to the http adapter.....problem with configuration i think...i want xi to send the payload to http://sysname:port/virtual-dir/x.jsp .... when it is the case i get some no-mapping error......and i would like to know in what parameter name the payload is fixed in the query string to that url so that i could get it in jsp page a request.getParameter("parametername")......
    please do help me in it..i'm struck with it for a long time........thanks in advance...

    Hi SPS,
      Check this link
    /message/654739#654739 [original link is broken]
    code attached here
    sample html code
    <html>
    <script type="text/javascript">;
    <!--
    function button1_onclick() {
    var result = "Result: ";
    var payload = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
    // escape "http://"
    var senderNamespace = escape(document.MessageParameters.SenderNamespace.value);
    var reqString = "http://"
    reqString = reqString + document.MessageParameters.Server.value+":";
    reqString = reqString + document.MessageParameters.Port.value + "/sap/xi/adapter_plain?";
    reqString = reqString + "namespace=" + senderNamespace;
    reqString = reqString + "&interface=" + document.MessageParameters.SenderInterface.value;
    reqString = reqString + "&service=" + document.MessageParameters.SenderService.value;
    reqString = reqString + "&party=" + document.MessageParameters.SenderParty.value;
    reqString = reqString + "&agency=" + document.MessageParameters.SenderAgency.value;
    reqString = reqString + "&scheme=" + document.MessageParameters.SenderScheme.value;
    reqString = reqString + "&QOS=" + document.MessageParameters.Qos.value;
    reqString = reqString + "&sap-user=xiappluser&sap-password=xipass";
    reqString = reqString + "&sap-client=" + document.MessageParameters.Client.value + "&sap-language=D";
    var xhttp = new ActiveXObject("msxml2.xmlhttp");
    xhttp.open ("POST", reqString, false);
    if (document.MessageParameters.Source[0].checked == true) {
    payload = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?> "+ document.MessageParameters.xmlData.value;
    xhttp.send (payload);
    else{
    var xmlDoc = new ActiveXObject("microsoft.xmldom");
    xmlDoc.async=false;
    xmlDoc.load (document.MessageParameters.xmlFile.value);
    xhttp.send (xmlDoc);
    result = result + "\n" + xhttp.responseText;
    xhttp.close;
    document.MessageParameters.response.value=result;
    //-->
    </script>
    <head></head>
    <body>
    <h3>Client Http Adapter </h3>
    <form name="MessageParameters">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Header</h4>
    <tbody>
    <tr>
    <td width="10%"><label>ServerHost</label> </td>
    <td width="22%">
    <input type="text" id="host" name="Server"
    value="sapcoe01" size="20" /> </td>
    <td width="10%"><label>ServerPort</label> </td>
    <td width="22%"><input type="text" id="port" name="Port" value="8000" size="10" /> </td>
    </tr>
    <tr>
    <td width="10%">Client</td>
    <td width="22%">
    <input type="text" id="client" name="Client"
    value="020" size="3" /></td>
    <td width="10%"> </td>
    <td width="22%"> </td>
    </tr>
    <tr>
    <td width="10%"><label>SenderService</label> </td>
    <td width="22%"><input type="text" id="senderService"
    name="SenderService" value="TravelAgencyCS" size="40" /> </td>
    <td width="10%">QOS</td>
    <td width="22%"><input type="text" id="qos" name="Qos" value="EO" size="4" /> </td>
    </tr>
    <tr>
    <td width="10%"><label>SenderInterface</label> </td>
    <td width="22%"><input type="text" id="senderInterface"
    name="SenderInterface" value="BookingOrdersOut" size="40" /> </td>
    <td width="10%"><label>SenderNamespace</label> </td>
    <td width="22%">
    <input type="text" id="senderNamespace"
    name="SenderNamespace" value="http://sap.com/xi/rkt/CaseStudy/group99"
    size="40" /></td>
    </tr>
    </tbody>
    </table>
    &#160;
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Optional Parameters</h4>
    <tbody>
    <tr>
    <td width="10%">SenderParty</td>
    <td width="22%"><input type="text" id="senderParty" name="SenderParty"
    size="40" /> </td>
    </tr>
    <tr>
    <td width="10%">SenderAgency</td>
    <td width="22%"><input type="text" id="senderAgency" name="SenderAgency"
    size="40" /> </td>
    <td width="10%">SenderScheme</td>
    <td width="22%"><input type="text" id="senderScheme" name="SenderScheme"
    size="40" /> </td>
    </tr>
    </tbody>
    </table>
    &#160;
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Payload</h4>
    <tbody>
    <tr>
    <fieldset style="padding: 2">
    <td width="50%"><input type="radio" name="Source" value="Textarea" checked="checked" />Type in XML</td>
    <td width="50%"><input type="radio" name="Source" value="File" />Upload File</td>
    </fieldset>
    </tr>
    <tr>
    <td width="50%"><textarea name="xmlData" rows="10" cols="60">&lt;a&gt;test&lt;/a&gt;</textarea></td>
    <td width="50%"><input type="file" name="xmlFile" size="40" /> </td>
    </tr>
    </tbody>
    </table>
    <p>
    <input type="button" value="Send" id="button1" name="button1" LANGUAGE="javascript" onclick="button1_onclick()" />
    </p>
    <hr />
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
    <h4>Result</h4>
    <tbody>
    <tr>
    <td width="50%"><textarea name="response" rows="5" cols="60"></textarea></td>
    </tr>
    </tbody>
    </table>
    </form>
    </body>
    </html>
    the code in that uses an Active X object, but if you can align your JSP code to receive the response in similar way, then probably your prob is solved,
    Best of luck
    Regards
    Vishnu

  • 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!

    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

  • Assign a dynamic value to a field in HTTP receiver header without IR part

    hi experts,
        I am doing a scenario in which i am to add a header  field in http receiver, whose value will vary for each transaction. and the value will be same as sender file name.
    But this all I am to do without doing Repository part.(i.e. No message interface and no mapping)
    Is it possible?  If yes help me out.
    "Useful effort will be appreciated"....
    Thanks

    Hi Jaideep,
       Hpoe the below link will help you.
    Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Regards,
    Leela

Maybe you are looking for