RFC to HTTP (Async) and HTTP to RFC (Async)

I have one scenario.
RFC need to be Executed (Async) to Fetch a XML file at one location.
Say. www.onecompany.com/details.xml
How should I Proceed.?
Which adapter should I use HTTP or SOAP.
Should I have combination of RFC to HTTP and the HTTP to RFC.
Kind of confuse.
Please help.

i am doing it in the way you suggested. (syncronous)
i have following problems.
1. How to configure the Reciver HTTP Adapter.
2. What should I use in Address Type.
    HTTP Destination or URL Address.
3. If I use HTTP Destination , The length of the field is very short to accomodate complete address.
4. If I use URL address, what should I put in all the fields , like Target host, Service Number, path.
I have URL , something like this, www.yahoo.com/exchangerates.xml
I dont know what to put in Target Host, service name and host.
Please help.

Similar Messages

  • Need help with scenario BPM Http-RFC Sync/async bridge

    hi all!
    i've got the following scenario: HTTP-BPM(XI)-RFC synchronous both of them. for that, i'm using S/A bridge in the BPM, but i'm getting the error 'Timeout condition of pipeline reached'. i think the problem is that the process gets lost in the sync/async communication, because in the trace level shows CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV" and after that every message are 'wait time starting'.
    don't know the reason of the error. Maybe I missed something to configure?
    the BPM is like this:
    Receiver(Open Sync/Async bridge) -> Transformation (mapping from http request to RFC request) -> SyncSend (RFC request and response) -> Transformation (mapping from rfc response to http response) -> Send (Close S/A Bridge)
    the IR is configured like this:
    Message Types u2013 External Definitions u2013 Imported Objects
    mt_cxml_request -> contains xsd of xcml request template.
    mt_cxml_response -> contains xsd of xcml response template.
    zintegracion_pedidos -> imported RFC from R/3
    zintegracion_pedidos.response -> imported RFC from R/3
    Message Interfaces
    Message Mappings
    mm_cxml_request_to_rfc_request -> mapping from http request (cxml) to rfc request.
    mm_rfc_response_to_cxml_response -> mapping from rfc response to http response (cxml).
    Interface Mappings
    and the ID is configured like this:
    Business system DES -> created business system for RFC adapter with interface mi_rfc_request_sync_in as receiver. Comunication channel u2018RFC Receiveru2019
    Businnes service VW -> created businnes service for HTTP adapter with interface mi_cxml_request_sync_out as sender. Comunication channel u2018HTTP Senderu2019
    Receiver Determination
    two receiver determinations. One for BPM and the other one for RFC(R/3):
    |VW| mi_cxml_request_sync_out:
    |BPM_PO| mi_rfc_request_sync_abs:
    Interface Determination
    two interface determinations:
    |VW| mi_cxml_request_sync_out | | BPM_PO:
    |BPM_PO| mi_rfc_request_sync_abs | * | * :
    Sender Agreement
    Receiver Agreement
    |BPM_PO| |DES| mi_rfc_request_sync_in

    hi all,
    i've removed the transformations from the BPM, and i've created:
    in IR:
    - interface mapping: im_xcml_request_to_rfc_request_sync_abs
                                    source interface: mi_cxml_request-sync_abs
                                    target interface: mi_rfc_request_sync_abs
    in ID:
    - receiver determination: |VW| mi_cxml_request_sync_abs
                                      sender service: VW
                                      interface: mi_cxml_request_sync_abs
                                      receiver: DES
                                      interface mapping:im_xcml_request_to_rfc_request_sync_abs
    - interface determination: |VW| mi_cxml_erquest_sync_abs ||
                                         sender service: VW
                                         interface: mi_cxml_request_sync_abs
                                         inbound interface: mi_rfc_request_sync_abs
                                         interface mapping: im_xcml_request_to_rfc_request_sync_abs
    - receiver agreement: |VW| |DES| mi_rfc_request_sync_abs
                                   sender service: VW
                                   receiver service: DES
                                   receiver interface: mi_rfc_request_sync_abs
    not sure these are the steps i had to do for mapping xml to rfc. but the result is the same error as before, the timeout.
    i couldn't test with RTW because i'm getting an error 401 unauthorized.
    i'd do it without BPM but the issue is that i wanted to add another step that would be to send the response from rfc to mail too once i got this BPM running. i mean, the response from RFC would be sent to http response and mail both.
    the only way i can imagine to do it is with BPM but i'm really fed up with it.
    thank u very much folks

  • QoS - EOIO in RFC and http/SOAP adapters

    Hi all,
    I need to have the QoS as EOIO in my interface where I am using RFC Sender adapter and HTTP/SOAP receiver adapter and using BPM Integration process.
    I have seen in the adapter attributes that these 2 adapters support the EOIO. I don't know how to specify this service in the adapters.
    Is there any special way of specifying this?
    Any help in this regard is highly appreciated.
    My interface is async and we are at SP 14.

    Hi Kalyana,
    Check these..
    2 scenarios with 1 Rfc-queue does it work ??
    RFC synch/asynch
    Queues for RFC-Destination
    P.S Please mark helpful answers

  • Capturing HTTP Response  Async RFC - XI - HTTP

    Hello All,
    Can somebody please explain how to capture the HTTP response. My scenario is
    Async RFC --> XI --> HTTP. Its an external HTTP url and the HTTP response is in XML format.
    Do I have to use a BPM for this? Without using BPM I'm able to see the HTTP return codes in MONI...but unable to see the HTTP response.

    Thanks Aamir for the quick reply. We dont have to send back the response to the calling posting RFC. This is just to get a confirmation back saying message was processed. Writing the response to a file would be a good idea. So in that case how would the BPM look like? This would be a Async-Sync bridge case right?
    Barring error handling for now..will the basic BPM be something like
    Reciever  --> MessageTransformation (This interface mapping would be from ZRFC_Abstract_Async_MI to HTTPPostMessage_MI ) --> Sync Send step --> Stop.

  • HTTP and RFC related scenarios

    Can you give HTTP and RFC related scenario links ?
    Urgent pls
    Message was edited by:
            s s

    Hi s s,
    see the below links, they will help u.
    HTTP to RFC
    Is it possible to use the RFC sender adapter for asynchronous calls?    Async call
    <a href="http://File to RFC using BPM-Starter Kit: By Arpit Seth">File to RFC using BPM-Starter Kit: By Arpit Seth</a>

  • RFC to HTTP Synchronous and SSL encryption

    I have the a Scnario RFC --> XI ---> HTTP with responce coming back from HTTP to xi and then in turn will go back to SAP.
    so it is like :  RFC  to XI and then To HTTP application at BANK partner
    but my case more complex because before i send the message to the web application over HTTP i need to encrypt the message and communicate with the web application of the bank, so i wonder how can we implement SSL to handshake with the bank successfully and how to encrypt the xml before i send the message to the bank ????
    also one more interesting question is : when i send the data to the bank over HTTP they asked me to pass it as an arugment...so what does that mean and how can i send data as an argument inside the HTTP request ??
    so in this case do i have to use HTTP adapter or SOAP adapter ????
    please help me out guys and thanks in advance

    use the HTTP adapter.
    You have to install the SAP crypto lib to enable the HTTPS service in PI.
    Afterwards you have to store the SSL certificates and the certificate chain in PI (TX STRUST).
    Argument/parameter:  eg.  www.xyz.com/script.asp?user=peter

  • HTTP and RFC Adapter are not Required Sender

    Hi All,
    I have one dought....
    Why Plain HTTP and RFC Adapter are not Required Sender Communication Channel and Sender Agreements...
    I Know this two Adapter are in ABAP Stack....
    Please clarify my dought...

    Idoc Adapters do NOT require Sender Communication Channel.
    The Sender System identifies itself at the Integration Server, with the fields SNDPOR and Client of the Control Record.
    Sender Communication channels are used for communication betweeen the Application System and the Integration Server.
    In the case of Idocs, all idocs are tranferred to the Integration Server pipeline and NOT to the regular EDI/IDOC interface.
    The RECEVIER DETERMINATION is based on the values in the Control Record.
    If you are doing ALE, then you have to maintain the idoc types which are NOT to be transferred to the Integration server by executing report IDX_SELECT_IDOCTYP_WITHOUT_IS.
    By maintaining the Idoc Types using this report, only these idoc types are sent to the regular EDI/IDOC interface.

  • RFC and HTTP adapter

    Hello Expert,
    Can anyone tell me, how to check RFC and HTTP adapter setting in XI?

    Based on channel configuration (Sender / Receiver) parameters need to be configure, if source mean some inputs need to be give meanwhile target.
    Source: No need to give any value
    Target: give host, rfc destination (target sytem logical system name) name and user id & pasword
    Source: No need to give any value
    Target: Need to give hotid (receiver system name); port(receiver system port) etc parameters need to set in adapter
    I hope now you clear

  • Whats the difference between RFC destination of type "HTTP" and "TCP/IP"

    Hi Folks,
    I want to know the difference between RFC destination of type "H" and "T".
    In what instances/tasks we would use them?
    Looking forward for your valuable answers...

    Type of RFC connection.
    By entering the type of RFC connection, you specify the communication method (TCP or SNA) and the logon type in the target sys
    Type T (TCP/IP) destinations are connections to external programs that use the RFC API to receive 'Remote Function Calls'. You must specify the host name and the pathname of the program to be started. The communication method depends on how you select the program location.
    Type H is the HTTP connection to R/3 system
    Type G is the HTTP Connection to external server

  • Index or dir/start/index.jsp, PING service and RFC HTTP failing

    Hello Experts,
    We upgraded our PI system to SAP PI 7.11 SP3 and then implemented SAP notes 1401097 and 1388864.
    From then,
    any URL http://<FQDN>:5xx00/index.html,
    http://<FQDN>:5xx00/dir/start/index.jsp..... are not working.
    JAVA is up and running fine.
    On ABAP side, PING and RFC INTEGRATION_DIRECTORY_HMI are also not working.
    I checked all users and connections (SLD) are working fine.
    Kindly help me on this.
    Thanks & Regards,
    Ananda Swaroop

    A common problem. A stop- and start of PI should do the trick (at least it worked for me two times)

  • Testing of HTTP and RFC adapters

    Hi SAP guru,
    Can u please help me in knowing that how we can test HTTP and RFC adapters in any scenarios.
    Thanks & Regards

    Testing RFC connection
    You can test if HTTP adapter is working fine or not as mentioned below.
    1. test the adapter_plain service in TCODE SICF
    adapter_plain service can be found under /default_host/sap/xi/adapter_plain
    2. TCODE : SMICM and then Shift + F1 and you can see the status of the HTTP server

  • HTTP to RFC  - Async scenario

    Hello Experts,
    I am getting the following error when working with HTTP to RFC Asynchronous scenario (In this scenario, my client sends data through scheduling like per day at around 25 to 30 messages out of which 1 or 2 messages are in errored out with the following error message)
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!-- Request Message Mapping --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:P3>Invalid byte 1 of 1-byte UTF-8 sequence.</SAP:P3>
    <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_xxxxxxxxx_~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Invalid byte 1 of 1-byte UTF-8 sequence.
    However if I process the same error message manually, it is processing sucessfully.
    Please help me in resolving this issue.

    Hello Stefan,
    I don't find any non-ascii character in that respective XML Tags.
    As I explained you, Suppose when there is an invalid character in the XML tags, even it should not process the message when I process it manually, But it is sucessfully processing(when manually processing).
    Below are the few XML Tags at which the invalid character is comming(message is errored out) in this XML Tags, but i dont find any invalid character in these
    Can you please help us in resolving this.

  • HTTP -- RFC

    I have HTTP --> RFC synchronous scenario.
    I need to call 2 RFcs.
    First the RFC1 is called synchronously and then evaluating the result RFC2 will be called.
    The response of RFC1 or RFC2 should be returned as HTTP Response.
    I could realize this using sync-async bridge of BPM.
    But Is this posssible without using BPM?
    I tried RFC Lookup for first RFC but dont know how to check condition based on Response of RFC1 (whether RFC2 should be called).

    I think I will have to use BPM.
    But I can have sync-async bridge with receive-open S/A bridge and in mapping I can use RFC lookup to call 2 RFCs and the result message of mapping can be sent using send step - close S/A bridge.
    i.e. I will have BPM as receiver for my scenario.
    I think I can avoid multiple receive and send steps and also transformation step for n:1 mapping (to map input from HTTP Request and Response of first RFC to Request of second RFC) by using RFC lookup.

  • BPM: RFC (SYNC) - BPM- HTTP client

    All XI Experts
    My scenario is RFC synchonous to XI (BPM) to HTTP Client.
    I correctly configured all my messages interfaces and mapping programs.
    I have defined the following:-
    Sync Abstract message interface for the RFC structure
    Async Abstract MI for RFC sent data
    Async Abstrcat MI for the RFC response data.
    At this stage I have NOT set up the full scenario. My BPM consists of the following steps:
    Receive- Opens an Sync/Async brige
    Send - Closes the S/A brigde
    I have also set up all the sender agreements and RFC destinations, so there is no issues with that side of things.
    When I execute the RFC (se37) and stipulate the RFC Destination, the message is logged in XI but has the following error:
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>This process does not support the specified synchronous interface or does not support any synchronous messages The exception occurred (program: SAPMHTTP, include , line: 0)</SAP:Stack>
    Has anyone come across this issue?
    Interestingly, when I execute the RFC in the background, then XI processes it fine?
    Is this how XI works? Is RFC Sync communication with BMP not supported?
    Any help would be greatly appreciated.

    Hi Yackeen,
    Have you resolved this problem? I have working on the similar design. Need your input on this one.
    My scenario is RFC>bpm>HTTP (asynch)
    I have one Receive and one send step with one block, deadline branch and a control step in dead line branch.

  • HTTP - RFC - Mail  - Mapping

    I want to set up an HTTP -> RFC -> Mail Scenario.
    HTTP from external party to XI (async).
    XI calls the RFC (sync)
    The RFC-response I want to sent via the Mail-Adapter (sync).
    So I have one Oubound Interface (HTTP)
    I have an Inbound Interface (RFC)
    And I guess I need another Inbound Interface for the Mail Adapter.
    Now I have a problem with mapping. How should I map the response of the RFC to the Mal-Interface. In the Interface-Mapping Editor I only have the option to map the RFC-Request to the Mail-Interface.
    I hope it is clear.
    In other posts it said that such a szenario is possible. I just need to know how to do the mapping.

    Hi Elko
    Hi Pl refer These link for ur Scenario
    <b>HTTP -> RFC</b>
    Passing RFC Table parameters from XI
    Unable to view payload in HTTP to RFC Scenario
    /message/266750#266750 [original link is broken]
    <b>Mail Scenario</b>
    Check this blog-

Maybe you are looking for