Soap- XI- RFC Synchronous question

This should be simple but for some reason something isn't clicking with me.  I've got a synchronous scenario.  I need to set up a message interface that will be exposed as a web service.  The sender will send the soap message to this message interface.  The message interface will be mapped to an RFC on the R3 end.  The RFC however doesn't receive any data it just returns data back to the application working with the web service.  My question is how do I set up the MI interface for the SOAP message?  If I state synchronous it's going to want both an input and output message types?

Arvind et al...
Let me expand, I think I was a little vague initially.  On the back end of this integration is a remote function in R3 lets say called "get_data".  The "get_data" function doesn't have any importing parameters.  It just provides a listing of data back to the caller.  I basically need to expose this RFC as a web service using XI to a .NET application.  The .NET application needs to invoke the web service (without providing any initial data) and the web service will invoke the RFC on the backend and return the data provided by the RFC.
Since this is basically a synchronous interface I kind of got stuck when I went to create the message interface for the web service side.  As Arvind mentions I need both outbound and inbound message types to create a synchronous message interface.  So I guess my question is whether anyone else has encountered a similar scenario and what they may have done to get around it.
Thanks!

Similar Messages

  • Http to RFC or SOAP to RFC (synchronous)

    Hi,
    I need to connect PHP with RFC via XI/PI
    Request will be send from php developed web pages to R/3 (RFC) to get data back to web page.
    I think to resolve this scenario 1u2019ve two options
    1: SOAP to RFC (synchronous)
    2: HTTP to RFC (synchronous)
    Can you please suggest me the scenario?
    Thanks for you time
    Regards,
    Farrukh Ghani

    Hi Ghani,
    The two options you mentioned we can use,but it depends on how PHP web site going to  send data,if it is going to send webserive then use SOAP adapter,you are expecting response ,the RFC wil work as synchronous.
    If it is not  Web Service other option is HTTP,receiver would be RFC only.
    How to configure SOAP->XI>RFC or HTTP->XI-->RFC scenarios,simple search in sdn will give many blogs,search in sdn,
    if you unable to find right one let me know..
    Regards,
    Raj

  • Soap to RFC  synchronous scenario

    Dear experts,
    i am doing a SOAP to RFC(BAPI_INTERNALORDER_GETDETAIL) sync scenario and the rfc returns a structure with the records as well as the BAPIRET2 records . 
    Do i need to use fault message types here ?
    If yes what would be its purpose in this scenario ?
    Ravi

    Hi,
    if you have BAPIRET2 then all the errors will be over there
    so I guess there is no need to use a fault message
    Regards,
    Michal Krawczyk

  • SOAP to RFC synchronous scenario with File

    Hi,
    My scenario is 
    Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC.
    2) After receiving the response from RFC PI should send the response to java application. Now here comes the little tweak, we need to map RFC response to File as well apart from sending SOAP response message (which is generated after mapping RFC response message to Java application response structure) back to Java application.
    Is it possible without BPM?

    Without BPM you can try below approach, but i would recommend you to use BPM.
        Develop    SOAP---->PI(rfc look up) -
    > SOAP/JAVA application
    map RFC loop up response to SOAP receiver and JAVA application/.
    Regards,
    Raj

  • SOAP to RFC synchronous scenario with File without BPM

    Hi Folks,
    I have a requirement that has to be done with out BPM!!!
    Requirement:
    Soap will trigger the request to SAP(RFC) and SAP sends the response to a file and then after SOAP has to recieve the ACK from PI.
    1) Can we do this by without using BPM
    2)Can we use without BPM module entries for SOAP Sender
    Please suggest and help me out in this
    Thanks in advance,
    Regards
    vivek

    Hi Vivek,
      Why not have the SOAP interface defined as synchronous?
    You can avoid using BPM that way.
    Best Regards,
    Ravi

  • Time out at communication channel type SOAP and RFC(synchronous interface)

    Hello Experts.
    I have a some interfaces here that have a Sender SOAP channel and Receiver RFC channe. We have problens with Timeout with soap channel and expiration with RFC time channel. I need a way to keep de connection alive in these interfaces, someome can indicate a way to do it?
    Thanks a lot.

    The error that ocurred is that one:
    SOAP: error occured: com.sap.aii.af.ra.ms.api.RecoverableException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4f451ed1-db17-11e0-ab5d-00001e05f032(INBOUND) expired: com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.MessageExpiredException: Message 4f451ed1-db17-11e0-ab5d-00001e05f032(INBOUND) expired
    The RFC inbouc channel expired.
    Thanks.

  • MAPPING JCO_COMMUNICATION_FAILURE (SOAP to RFC scenario)

    Hi,
    Our system is PI 7.1 EHP1 and the scenario is to SOAP to RFC (Synchronous). I have imported the RFC into ESR and used it as data type for Outbound interface for SOAP.
    Initially i havent created any mapping because all Interface fields are same (name and type) with RFC because i have used RFC as data type. When we have tested the integration via SOAPUI we have seen that the request message wasn't transferred to RFC but the response was transferred from RFC to SOAP response. Could it be a bug? or is it normal behaviour?
    Later, i have created a graphical mapping without any data conversion etc.. It is just mapping. This time it transferred the request and response as well.
    When we have started stress test on a PI system (6000 SAPS), the PI JAVA stack started to use %100 of CPU. We have processed 100 message per minute. After 20 minutes, Java stack of PI has crashed and restarted.
    Our plan is to process message more then this test numbers. Possibly it is approx 400 message per minute.
    I have found below errors on RWB (approx 250 message have below errors).
    How this high CPU consumption can be resolved?
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_COMMUNICATION_FAILURE</SAP:Code>
      <SAP:P1>Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>&quot;COMMUNICATION FAILURE&quot; during JCo call. Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67</SAP:Stack>
      </SAP:Error>
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>connection to partner 'loopback:0' broken / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 th</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>&quot;SYSTEM FAILURE&quot; during JCo call. connection to partner 'loopback:0' broken / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 th</SAP:Stack>
      </SAP:Error>
    Kind regards,
    Altuğ Bayram

    Hi,
    Connection between ABAP and JAVA has been broken...thats the reason for the JCO_COMMUNICATION Error
    you need to either restart the java or have a look at the RFC Connection JCO_AI_CONNECTION...
    re you making use of AAE for this scenario..which can improve the performance than using classic scenario.
    performance depends on the hardware of the server also...
    Check the sizing Guide of the PI 7.1 on SDN.
    Check the below link it may help you..
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0b96675-87cf-2c10-b489-dee0ac03f782
    HTH
    Rajesh

  • SOAP to RFC

    Hi,
    I am working on SOAP to RFC synchronous interface, apart from developement of IR,ID and BAPI, what are the other configurations need to be done on both PI and SAP.Do we need to create an RFC destination ect? please help
    Thanks

    Since it's SOAP to RFC , you don't need to create any RFC destinations and all the stuff. Just give your SAP system details in the Receiver RFC Communication channel, that should be fine.
    Thanks!

  • Synchronous RFC to SOAP scenario (RFC or XI adapter?)

    Hi there,
    i have following functional requirement from my customer, SAP is going to send  some data (3 fields) to XI and XI has to send them to an appl that will return a status. This status has to be sent back to SAP.
    As the appl deals with xml messages, the nonSAP side is going to be integrated via receiver synchronous SOAP CC.
    But question is, which of the following is the best integration approach (adapter to use) in the SAP side??
    At first i thought sRFC and XI adapters would fit these requirements but i have several doubts:
    1)how the RFC is to be implemented to be able to export the data and finally, import the status received from the external appl.???
    2)how could we do this with the XI adapter???  Does it support synchronous messages? Is there any step by step guide on the sdn showing ?
    Thanks in advance and best regards,
    David

    Dear,
    I have created an interface like the below url.
    http://www.****************/Tutorials/XI/RFCtoSOAP/page2.htm
    but i am not getting Response, why it is happening.
    IR, ID test configuration success. but when i am triggering data. not showing in moni.
    please suggest me
    Regards,
    Kiran Polani

  • Synchronous SOAP to RFC

    Hi All,
    I have a doubt that in a Synchronous SOAP to RFC/PROXY interface that is it we need to configure the entire Interface and then have to test the Webservice for the response from Altova??
    I have configured SOAP at the sender and RFC at the receiver but my Customize BAPI is not yet ready but I want to test the Webservice from Altova,Is it so that i need to configure the whole scenario and test it.
    Isnt it enough if I do basic Configuartion??
    Thanks & Regards,
    R.K

    hi,
    if u want to test u r WEBSERVICE using altova spy...  u need not configure whole scenario.. configure simple soap to file scenario and check u r webservice..
    if u want to check syncronous scenario... for the testing use a BAPI which is already existing..
    Thanks,
    Madhav
    Note:Points if useful

  • Help SOAP to RFC Scenario using BPM (Synchronous communication)

    Hi,
    I am doing a scenario from SOAP to RFC scenario(Synchronous communication).  Here I am creating a PM Notification in the SAP system through a webservice. 
    I am using three BAPI'S here,
    1. BAPI_ALM_NOTIF_CREATE 
    2. BAPI_ALM_NOTIF_SAVE
    3. BAPI_TRANSACTION_COMMIT
    I am successful in calling the first BAPI from the Web Service.  For this I have not used BPM.  But to commit the transaction(PM notification in this case), I have to execute the other two BAPI's as well.  I have to pass the output of first BAPI to the second BAPI and then execute the 2nd BAPI.  And finally have to execute the 3rd BAPI.     FYI, 3rd BAPI is not dependent on any output.  It has to be executed independently after execution of the first two BAPI's.
    How can I execute this scenario?  Do I have  to use BPM?  If yes please let me know the steps in detail.  I have not done any BPM scenario till now.  So please answer me in detail.
    Thanks in Advance,
    Vijay
    p.s. reward points are must

    Hi Vijay,
    Yes, You will indeed need a BPM in this case...
    Based on my understanding of the Scenario u have explained, here are the steps that would be needed.
    1. Receive With the Sync-Async Bridge open.
    2. Transformation Step (Between the source Request and The BAPI_ALM_NOTIF_CREATE Request)
    3. Send Synchronous
    4. Fork
    5. In one Branch of the fork - Transformation (Between the BAPI_ALM_NOTIF_CREATE Response and API_ALM_NOTIF_SAVE Request)
    6. In the other branch of the fork - Transformation (Between a Dummy Source and the BAPI_TRANSACTION_COMMIT Request)
    7. Send Synchronous (to make the 2nd BAPI Call)
    6. Transformation ( BAPI_ALM_NOTIF_SAVE Response and the source Response)
    7. Send Asynchronous (to make the 3rd BAPI call)
    8. Send the Source Response and close the Sync-Async Bridge.
    There might be alternative ways also of doing it...
    Also a better design would be to take care of the 2nd and the 3rd BAPI call within the code of the 1st RFC Function Module.
    Regards,
    Abhy Thomas

  • Public URL for Synchronous SOAP to RFC scenario

    Hello  Everyone,
    I have synchronous SOAP to RFC scenario.
    i have created the http URL for testing environment through sender agreement.
    However, now the user wants a public URL and that too secured one ... means (  https  ) in production.
    i tried this blog, but Service registry is not configured in our landscape.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/23725
    is there any other way ..?
    Regards,
    Ravi

    The process of creating the wsdl will remain same. The url in your case will start with HTTPS instead of HTTP. Note that the port at which HTTPS data would be received will be different than HTTP port and thererfore you need to change that as well. You don't have to set any client authentication unless there is a business requirement. You may simply use certificates for SSL.
    In some cases, if PI always receives data through web-dipatcher (ask your network team), then the data hostname and port of web-dispatcher should be used.
    Regards,
    Prateek Raj Srivastava

  • SOAP --RFC some questions

    Hi Experts,
    I have following question  regardsing SOAP to RFC scenario.Kindly  give your views.
    1>   Does the web service pass through the useru2019s credentials to authenticate against the backend SAP R/3 system? (I do not   believe this is enabled in our PI environment today)
    2>  Can the web service itself be configured to require authentication just to be accessed? If so what type of credentials would be used? (i.e. authorized at the SAP PI engine)
    3>  Could SAP-PI utilize SAP Single Sign-On? i.e. the SAP-PI web service is accessed using Active Directory credentials.. then the SAP-PI web service uses SAP Single Sign-on to authorize that user against SAP R/3 endpoint
    4>  How many concurrent users do you believe could call the web service without causing serious degradation in performance for everyone using the platform?
    Thanks and Regards,
    Sumit

    Hi,
    >>>1> Does the web service pass through the useru2019s credentials to authenticate against the backend SAP R/3 system? (I do not believe this is enabled in our PI environment today)
    this is possible - it's called principal propagation and it works with RFC and SOAP
    >>>>2> Can the web service itself be configured to require authentication just to be accessed? If so what type of credentials would be used? (i.e. authorized at the SAP PI engine)
    by default you need to have a user on PI to access WS on PI
    3> Could SAP-PI utilize SAP Single Sign-On? i.e. the SAP-PI web service is accessed using Active Directory credentials.. then the SAP-PI web service uses SAP Single Sign-on to authorize that user against SAP R/3 endpoint
    check out principal propagation options
    4> How many concurrent users do you believe could call the web service without causing serious degradation in performance for everyone using the platform?
    depends on the hardware
    depends if it's ayns or sync
    depends if you can use local AAE or not
    Regards,
    Michal Krawczyk

  • SOAP to RFC scenario (SFDC - ECC synch)

    Working on a SFDC to ECC synch scenario using SOAP to RFC interface. I generated the WSDL for SFDC team and tested on soapUI, I am able to see the successful request/response structure in sxmb_moni.
    However, when the SFDC team is sending the request in real time from SFDC, the request is successful in SFDC but not reaching PI and hence there is no response. The error I see in sxmb_moni for this  is
    <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PROXY_NOT_ALLOWED_ON_IS</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Proxy calls are not permitted on sender or receiver side on the IS (client)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Are there any additional setting need to be done.
    Please guide on this issue . Thanks
    Edited by: jbagga on Nov 14, 2011 7:42 AM

    SFDC sending request to PI. SFDC Request is not hitting PI, neither traceable in MONI or RWB.
    SFDC request is not hitting PI . The ForeFront has allowed the SFDC IP range to target PI using reverse proxy rules. But SFDC and Forefront both get the "HTTP 500 internal server error"
    The question is , I am helpless until the request is monitored anywhere in MONI or RWB_communication channel
    Also SFDC receives some fault message error along with HTTP 500 i.e. Header Missing in Soap Message Header. In this case, also if its PI related error there should be at least some track of request hitting PI in MONI or RWB. also tried creating a WSDL with PI username and password in the WSDL under Header tags, still the same situation
    ALL Ports are open by BASIS team.
    Can someone point out any helpful solution. URGENT !! Thanks a ton in advance.
    EVERYTHING , THE ENTIRE REQUEST/RESPONSE STRUCTURE WORKS PERFECT WITH SOAPUI.

  • Soap to rfc..dont get a response...

    I have pasted below the complete steps for doing a rfc to soap synchronous scenario...i can send a message and update a custom table in r/3 with the data..however i am not getting any response, i have tested the rfc on r/3 and checked the table ..which is getting updated correctly....any ideas on whats wrong .....More important areas are the items in bold.....which is where i think smthing is not ok.
    Design..part........
    Create data types
    1) testScore_dt
    2) testScoreResponse_dt.
    Create 2 msg types for 1 and 2...
    testScore_MT
    testScoreResponse_MT
    Create Message Interface
    MI_TestScore
    Outbound Message Interface Synchronous
    input Message is testScore_MT
    outputMessage is testScoreResponse_MT
    Import rfc
    ZRfc_testScore
    ZRfc_testScoreResponse
    Create 2 message mappings
    MM_Input_001
    Source is testScore_MT
    Destination is ZRfc_testScore
    MM_Output_001
    Source is ZRfc_testScoreResponse
    Destinatio is testScoreResponse_MT
    Create 1 Interface mapping
    Source is MI_testSource
    Target is ZRfc_testScore
    Request tab...choose mapping as MM_Input_001
    Response tab ...choose mapping as MM_Output_001
    Configuration...
    Create Sender_BService
    Create Reciever_BService
    Create Communication channels
    CC_Sender_Soap
    default namespace
    <b>interface  = MI_TestScore</b>
    CC_Reciever_RFC
    <b>Do Reciever determination
    Sender = Sender_BService
    Interface == ?</b>
    Do Interface determination
    <b>Need Help ?</b>
    Sender Agreement
    Sender CC
    Reciever Agreement
    Reciever CC
    Regards
    Ravi Raman

    Ravi,
    I believe your scenario is SOAP to RFC, coz the title and your explanation misleading to different scenarios.
    >>>>>>>Do Reciever determination
    Sender = Sender_BService
    Interface == ?
    Do Interface determination
    Need Help ?
    <b>Receiver Determinatio</b>
    Sender = Sender_BService
    Interface =MI_TestScore
    Configured receivers = Receiver_BService
    <b>Interface Determinatio</b>
    Sender = Sender_BService
    Outbound Interface =MI_TestScore
    Inbound Interface = RFC
    Mapping = Interface mapping.
    raj.

Maybe you are looking for