Problem ins Scenario RFC = XI = HTTP

Hi everybody!
I have a scenario in which an R/3 Backend queries an external System using XI. The communication path is:
ABAP Program (sync. RFC) <=> XI <=> (plain HTTP / XML) external System
Unfortunately so far the call only works one way - the RFC call is routed to the XI system which in turn calls the external system. I see the call in the external system's log files. But somehow the answer of the external system is lost.
I also have problems debugging this scenario, since I don't find <i>any</i> messages in transaction SXMB_MONI. I don't know if the two problems are related, but right now I'm really confused.
Any suggestions or hints?
Regards, Joerg

Hi all,
Solved the problem myself. However the problem is so curious, that I post the answer here - maybe someone else with the same problem will find it.
The answer of the external system is transformed using an XSL stylesheet. The stylesheet generated the following RFC-XML message:
<rfc:Z_xxx
xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Parameters omitted -->
</rfc:Z_xxx>
As soon as I removed the superfluous Namespace daclaration <b>xmlns:xsi</b> - which wasn't even used in the resulting XML document - everything worked fine. Personally I find this a bit strange, but who cares
Regards, Joerg

Similar Messages

  • RFC To HTTP Synchronous with SSL Encryption

    Hallo
    I have a Scenario RFC --> XI ---> HTTP with responce coming back from HTTP to xi and then in turn will go back to SAP Synchronously.
    so it is like : RFC to XI and then To HTTP application at BANK partner
    I know the basic steps of how to import the RFC and how to create the Data Type for HTTP request and response and doing interface mapping for request message and response message.
    but my case is 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 xml file to the bank over HTTPs  i have to pass only the encrypted part of the xml file as an arugment of the http body...so what does that mean and how can i send data as an argument inside the HTTP request ??
    please help me out guys and thanks in advance
    Edited by: Tarek Atassi on Jun 22, 2010 8:04 AM

    check this guide:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/f7/c2953fc405330ee10000000a114084/frameset.htm

  • RFC-XI-HTTP scenario

    Hi Experts ,
    i am configuring RFC-XI-Http scenario.
    The problem i am facing is when instaed of HTTP receiver adapter i use FILE adapter or soap adapter it posts the file. But when i use the HTTP adapter it gives the error ICM_HTTP_CONNECTION_FAILED.
    The basis configuration seems to be fine and my design also should be fine as it is working in case of file and soap adapter .
    How to rectify this problem?
    This is very urgent.
    Please suggest
    Regards
    saras jain

    Hi,
    Please look at these...go through the suggested solutions to resolve this error.
    INTEGRATION_DIRECTORY_HMI: Connection fails
    ICM_HTTP_CONNECTION_FAILED
    SAF - ICM_HTTP_CONNECTION_FAILED
    HTTP adapter setup
    Check out this SAP Note- 824554
    Also this links
    ICM_HTTP_CONNECTION_FAILED
    Cache Refresh~
    https://websmp201.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Hope this helps.
    Think these should help you out!
    Thanks
    Swarup

  • RFC to HTTP Scenario, Dynamic URL .... Limitation with 200 Character...

    Hi Experts,
    I am doing an RFC to HTTP Scenario. In which the Target URL is Dynamic and i am passing some values from the input payload.
    The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
    How to solve this ...Any way to achive this...
    Regards,
    Jude

    Hello,
    The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
    You can check Michal's reply in this thread, http://forums.sdn.sap.com/thread.jspa?messageID=7767169#7767169. There is no official statement from SAP that they will change it.
    What you can do is to use a third-party tool to shorten the URL e.g bit.ly I am unsure though of licensing reasons. Or an alternative is to place the parameters in the HTTP Body, in that way, you can place as much parameters as you like.
    Hope this helps,
    Mark

  • "MAPPING" EXCEPTION_DURING_EXECUTE in scenario RFC TO PROXY

    Hello all
    I  am facing  a problem in a RFC PROXY SCENARIO and I don´t whether I can solve it .
    System A : R3
    System B : XI
    And my scenario is RFC TO PROXY. 
    i will implement the proxy in the ABAP  XI . For now I have entered no code.
    I have mapped an rfc from r3 to my data type . My message mapping , Interface maping works very well .
    When I start the program in R3 . I got the following error in the trace of sxmb_moni
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_MAT_</SAP:P1>
      <SAP:P2>java.lang.NullPointerException</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_MAT_:</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    How can make this scenario working ?

    Stan,
    Follow the steps below:
    1. Take the source XML message from SXI_MONI
    2. Save the xml message into your desktop.
    3. Log into Integration Repository and open the concerned mapping object.
    4. Go to test tab and upload this xml at the source side.
    5. see whether everything is green at source message type.
    6. execute
    7. you will find the error in the log immediately after executing
    see for the error and take appropriate action.
    Best Regards,
    Kiran Bobbala

  • How to create or simulate a WEB service? Scenario RFC to WEBService.

    Hello PI experts,
    I'm creating an interface with this scenario: RFC->PI->WEBService, the message is synchronous. The problem is that we don't have nothing at the webservice yet, I just want to know if have a way to create or simulate a webservice to test my interface? If someone have some material or information please it will be very helpfull.
    Thanks

    Create two scenarios.
    1) Using SOAP sender you can create a web service.  So create a simple scenario using soap sender and  use some receiver like jdbc or file or something for your test.  Create WSDL using sender agreeement and save the wsdl.
    2) create RFC to SOAP scenario. In the receiver side use the WSDL as external definition for the receiver mesg structure. Configure SOAP receiver to point  the soap service created using soap sender in the step 1.
    Basically you need to know SOAP sender for the step 1 and Soap receiver for the step 2 configuration and design.
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/

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

    Guys,
    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.
    BD.

    Ok,
    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.

  • BPM- scenario RFC - XI - receive file - - SOAP - return answer to RFC

    Hello everybody,
    I have the scenario
    RFC call a BPM
    In the BPM, I have to receive information from a file ( generated by another system 4 times in a day)
    Mix the data of the file with the data of RFC
    Send them a SOAP
    send the reply to the RFC
    My problem is : how to receive the file on demand because in file adapter ( sender ),  the definition is only by interval of time?
    Is there anybody who can help me?
    Thanks in advance and best regards.
    Eric.

    Hi Eric,
    in sender file adapter, we just have polling interval - so in your receive step in BPM you have to wait for the source file.....
    i do not think any other workaround will be feasible for your this case
    Regards,
    Rajeev Gupta

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

    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.
    Thanks
    Karthik

  • Problems with Safari and Firefox (HTTP?)

    Problems with Safari and Firefox (HTTP?)
    On a laptop G4, 10.5.8 and Safari 5.02 I experience the following:
    On the account of my oldest daughter everything works fine, i.e. wireless internet works and no problems with mail or safari.
    On the same laptop, on the account of my other daughter, the wireless is OK, she can mail etc. But safari nor firefox works. It says: can’t find server (whatever site) and in the activity window it looks if safari tries to open files (in the safari preferences-folder) in stead of http. Same applies to Firefox, so maybe it has more to do with HTTP in general?
    What goes wrong? What to do? I tried the following on the host terminal (tips from Apple)
    defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false
    and
    defaults delete com.apple.safari WebKitDNSPrefetchingEnabled
    but that did not help,
    Nanne

    I'm still wondering why it happens now at this moment in time...
    PC does seem to be a bit odd & inconsistent, the few times I've tested with it, at least so far as we content filtering goes; and if I remember rightly, you're not the first to report previously ok settings suddenly preventing some or all internet until pc is switched off altogether.
    It may work when re-enabled

  • Problem downloading a file via http

    Hi
    I'm just getting started with WLS (sp5) and am having a problem downloading
    a file via http. The document is stored in the main html docs directory and
    whenever I link to it or try to download it directly (eg:
    http://<host>:<port>/myfile.doc) I get the following error in a message box:
    Your current security settings do not allow this file to be downloaded.
    Can anyone point me in the right direction as to where I grant permissions
    to do this - I've tried using the weblogic.security.URLAclFile and adding
    the directory as a weblogic.io.fileSystem (a desperation move, I know).
    Thanks in advance,
    Peter Villiers

    PLEASE IGNORE THIS POST
    The problem was caused by someone (me though I honestly don't remember doing
    it), setting the content security level to high in my web browser which
    stopped this type of download.
    Peter

  • RFC to HTTP Interface - Access using NULL object reference is not possible

    Hi All,
    I am working on a Interface RFC to HTTP where in I am sending the data to a third party system.
    Using PI 7.3 and Adapter type XI to send this data.
    I am getitng an error Short dump occured when executing message in qRFC queue <Queuename>: Date/time 02.12.2011 08:44:57, user XXXXX, runtime error: Access using NULL object reference is not possible.
    <SAP:Code area="INTERNAL">QRFC_SYSTEM_DUMP</SAP:Code>
    I am entering the parameters such as target host,service number,path correctly with addrseing type as URL.
    The message is failing in the call adapter step with the above error.
    There are no messages stuck in SMQ2 as well.
    Now on the other if I use the  adapter type HTTP_AAE the messages is getting successfully delivered with the same parameters mentioned above.But as we know it is a plain adapter and will not have the SOAP envelope.
    We would want to send the data using the XI adapter.
    Any idea as why this issue is happening?
    Helpful answers will be rewarded points.
    Thanks & Regards,
    RK

    Hi,
    please go through below threads,
    Error for all the interfaces
    Access via NULL object reference not possible., error key: RFC_ERROR_SYSTEM
    hope it will help you
    regards,
    ganesh

  • 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

    Hi,
    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
    Cheers,
    André

  • Problem in creating RFC

    Hi All,
    I am facing problem in creating RFC from lower to higher version of SAP, while creating RFC from ECC 5.0 to ECC 6.0 the system is not saving logon/security information, when i click on remote login it ask user n pwd again, please let me know the solution.
    Thanks in advance
    Shazia Khan

    Hi Bala,
    The exception given is only that much.
    When I try to create the RFC, a Dialog box pops up and the error given is
    <b>
    ERROR file opened at 20070516 111750 India Standard, SAP-REL 640,0,154 RFC-VER 3 864900 MT-SL
    T:5512 Error in program 'javaw': ======> You are not authorized to logon to the target system.
    T:5512 Error in program 'javaw': <* RfcReceive [2] : returns 3:RFC_SYS_EXCEPTION
    </b>
    Please help me out.
    regards
    Brahmachaitanya

  • Using RFC or HTTP adapter

    Hi All,
        I want to configure a receiver adator as the receiver adaptor in the sap xi system which will receive data from a 3rd party.
    In this case among the adaptors RFC, SOAP, & HTTP which one will be the best to use and why ?
      Also please let me how to use the RFC adapter as a trfc call.
    Regards...

    Hi Santosh,
    You can receive your data from the 3rd party either with soap or http adapter. You can use rfc adapter for sending data to sap.
    RFCs are of 5 types. Please check this thread for detailed information:
    standard RFC Vs tRFC
    From SAP help:
    The RFC adapter maps the following RFC calls to XML messages and the other way around:
    ● Synchronous RFC calls (sRFCs) in messages with Structure linkquality of service Best Effort (BE)
    ● Transactional RFC calls (tRFCs) in messages with quality of service Exactly Once (EO)
    ● The receiver RFC adapter can also process messages with quality of service Exactly Once In Order (EOIO). They are mapped to transactional RFC calls (tRFC).
    You have tRFC and qRFC queues. Take a look at this blogs:
    /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    Regards,
    ---Satish

Maybe you are looking for

  • How to Reverse Page Order in Acrobat Pro 9

    Hello Community, I thought this would be an easy thing to do in Acrobat but so far I am finding it is not. I am creating a PDF from multiple files, they are jpegs, and I am dragging and dropping them into the "combine files" window in the order I wan

  • How do I determine which version of windows os is installed on the computer that my application is running on.

    I need to determine which version of windows os in on the computer running my application to make some minor adjustments to a subvi.  Is there a programmatic way to determine this using Labview.

  • What is th optimal Database Buffer size?

    Good evening SAP/Oracle experts, I am interested to know how many of you have chosen to size your Oracle data buffer (db_cache_size). There seems to be two trains of thought about this - one that says size the data buffer as large as you can because

  • Objects for data tarnsfer in HR

    Hi, Please let me know the objects that are migrated in HR. (For ex: IN SD the objects that are migrated are customers(Kna1,knb1,knvv), sales orders(Vbak,vbap,vebp) , condition records) Like that please let me know the objects that are migrated in HR

  • Adding the Country List in Select Box

    Hi Gurus How to add the Country List in the Select box, which are avilable in CRM system. If u have any pointers please provide me Regards Satish