RFC-SOAP (B2B)

Hi....All,
1) I am doing RFC-SOAP Scenario (B2B), we r getting the response from target(soap) system to XI, from XI we want to send the response to sap system inbox.. how we will send the response from xi to sap inbox.
pls suggest me..its very urgent?
2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
if anybody is having the ex scenario pls send it to me that is very great help for me..
****for helpful answers i will assign the points*****
regards,
Pasi.

>
> 2) for RFC-SOAP Scenario WSDL File required or not, pls suggest me...
To create the message/data structure in IR , which you want to send it  to target system, there are two ways
1) Manually create it
OR
2) Import WSDL file through External Definitions, it will automatically created.
For communicating( in ID) no WSDLis required only URL is required to communicate with Web Services which is mentioned in WSDL file or you can ask it from client directly.
Regards,
Piyush

Similar Messages

  • ERROR During call of SOAP with a SOAP- RFC- SOAP Synchronous scenario

    Hello Experts,
    I've recently created a SOAP->RFC->SOAP synchronous scenario but every time I'm invoking the SOAP via XMLSpy then i will hang and send a timeout error. Also a log in XI was generated as shown below.
    I hope you could help me on this one.
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          28.09.2010 09:31:23
    Short text
         SQL error in the database when accessing a table.
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "DELETE_LUW_PACKET" "(FORM)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         The database system recognized that your last operation on the database
         would have led to a deadlock.
         Therefore, your transaction was rolled back
         to avoid this.
         ORACLE always terminates any transaction that would result in deadlock.
         The other transactions involved in this potential deadlock
         are not affected by the termination.
    Regards,
    Alfred

    Normally such an error comes when the DB of SAP PI is full.
    Contact your BASIS or ADMIN team and ask them to free the DB space.
    Regards,
    Abhishek.

  • Soap request- XI- RFC- RFC- soap response

    Hi,
    I want to implement a scenario like this.
    A third party system use the soap adapter to call the ECC RFC via XI.
    AND I want to write the RFC response into another RFC.
    After that i want to send back another Rfc response result to soap client (third party system).
    So the scenario looks like this
    soap request->XI->RFC->RFC->soap response
    I want to use BPM,but have not too much experience.appreciate your help.
    Regards

    Hi,
    You would need a Synch Asynch Bridge in this case.
    Steps in BPM.
    1. Receive --> Receives SOAP request message --> Select Opens Synch Asynch Bridge
    2. Transfrom --> Map SOAP request to RFC 1's request Message
    3. Send Synchronous --> Make the Synch Call to the RFC and get the Response back.
    4. Transform --> Map RFC 1's response  to RFC 2's Request
    5. Send Synchronous --> Make the Synch Call to RFC 2 and get the RFC response back
    6. Trasnsform -->Map RFC 2's response to SOAP response.
    7. Send --> Select Closes Synch Asycnh Bridge and Send SOAP response back.
    For synch asynch bridge , take a look at this too,
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Regards,
    Bhavesh

  • RFC - Soap(Webservice_1, webservice_2) multiple recevers with synchronous

    Hi Experts,
    My scenario is RFC <-> Soap(Webservice_1, webservice_2) multiple recevers with synchronouse
    I get campus_code field from RFC, when campus_code is 25 i need to call webservice_1 , when the campus_code is 35 i need to call webservice_2 as synchronouse call.
    Can you please tell me how to implement step by step in recever determination.
    Thanks
    Dhanush.
    Edited by: Dhanush on Jun 16, 2008 5:03 PM

    Hi Dhanush,
        Did you try to give a condition in the XPATH Condition editor of the receiver determination section?
    1) Click on the Condition editor button in the receiver determinatuion section.
    2) YOu will get a pop up screen.
    3) On the left hand side of the expression, give the XPATH for the CODE_ID (YOu can use the serach help button to chose your source field.
    4) Chose the relation operator as '='.
    5) On the righ hand side of the expression, GIve the constant value 35.
    Press OK.
    Chose the corresponding party and service for your weservice1.
    Do the same in next line for webservice2.
    After that, you have to define separate Interface determination and receiver agreement for webservoce1 and webservice2 scenarios.
    Regards,
    Ravi

  • Rfc-soap

    Hiu2026All,
    I am trying to do RFC-SOAP scenario with out using WSDL file, is it possible or not ?
    Or I want to change the scenario.
    if posible how i will procedd pls suggest me
    thanks in advance,
    Jain.

    Hi JAIN,
         If you don't have the WSDL( containing both request and response structures), You must be having the individual request and reponse XSDs right which should be imported in your external definitions.. You can procede with them.You don't need to change the scenario.
    In the following blog you can see this and the usage of XML spy too.
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    Thanks,
    Vijaya.

  • RFC -- SOAP Error

    Hello Everybody!
    I am implementing a scenario wherein:
    1) Data is passed from R/3 to xi and then to a web server.
    2) From webserver the updated data is sent back to xi.
    3) A particular field is boolean checked in XI, if true the data is sent back to webserver.
    4) and then again the updated data is sent back to r/3 via xi.
    R/3 ---> XI ---> Web Server ---> XI -(If condition true)-> Web Server ---> XI ---> R/3
    R/3 ---> XI ---> Web Server ---> XI -(If condition false)-> XI ---> R/3
    I am getting a error message when i run the Synchronous) RFC function Module using a report.
    <b>The error message is:</b>
    Runtime Errors         CALL_FUNCTION_REMOTE_ERROR
    Date and Time          29.09.2006 13:07:10
    <b>ShrtText</b>
         "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExcepti
    <b>What happened?</b>
         Error in ABAP application program.
         The current ABAP program "Z_ALTINN_TEST" had to be terminated because one
          the
         statements could not be executed.
         This is probably due to an error in the ABAP program.
         The error occurred in an RFC call to another system.
         The target system has also written a short dump.
         Consult this short dump for more precise information about
         the cause of the error.
    <b>What can you do?</b>
         Print out the error message (using the "Print" function)
         and make a note of the actions and input that caused the
         error.
         To resolve the problem, contact your SAP system administrator.
         You can use transaction ST22 (ABAP Dump Analysis) to view and administer
          termination messages, especially those beyond their normal deletion
         date.
         is especially useful if you want to keep a particular message.
    <b>Error analysis</b>
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_EXTERNAL_ABORT"
        on the called page.
    <b>How to correct the error</b>
        Please refer to the notes described in the
        short dump.
    <b>Internal notes</b>
        The termination occurred in the function "RfcExtendedRece
        Basis System, specifically in line 416 of the module
         "//bas/640_REL/src/krn/rfc/abrfcrcv.c#3".
        The internal operation just processed is "FUNC".
        The internal session was started at 20060929130708.
        Status of connection:
        RFC status: " "
        RFC error text: " "
        CPI-C error text: "call to messaging system failed:
         com.sap.aii.af.ra.ms.api.DeliveryException:
         XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api"
    <b>and the error message in the SXMB_MONI is :</b>
    <?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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: java.io.IOException: invalid
    content type for SOAP: TEXT/HTML</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can someone help me with this.
    Regards,
    Ashish

    Hi Ashish,
    To know what to do to close the posts as pointed out by Dirk,please go through this link.....
    /people/mark.finnern/blog/2004/08/10/spread-the-love
    <b><i>Runtime Errors CALL_FUNCTION_REMOTE_ERROR</i></b>
    Check if the RFC is remote enabled..
    Please go through this link to know more about the same...
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm
    Also just see if you have used BAPI_TRANSACTION_COMMIT.
    And finally, Try checking the userid auth. for RFC destination,if it has remotes access.
    To check the same, you just have to do a remote logon from SM59 transaction.
    <b>
    <i>"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExcepti</i></b>
    Try checking the userid auth for RFC destination wether it has remotes access.
    Just if you are able to do a remote logon in SM59.
    This error usually occurs when the RFC is not remote enabled so plz check that...
    Also go thru this link..
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/3f69fd11a80b4e93a5c9230bafc767/content.htm
    Also go through this thread..
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryExceptio
    And for mapping check the incoming payload in sxmb_moni and see whether it conforms to Design>Msgmapping>Test(source XML).
    Regards,
    Abhy

  • Synchronous RFC -- SOAP Scenario: problem with SOAP Response/Fault Mapping

    Hi,
    I've a synchronous RFC --> PI --> SOAP Scenario. The problem is that the message structure of the sending RFC doesn't match the Webservice Structure.
    The (SAP standard) RFC has just a Request / Response message structure. Part of the Response Message structure is a exception structure.
    The Webservice has a Request / Response message structure and in case of an error I get a SOAP:Fault.
    Problem now is that I cannot configure that scenario without usage of BPM as I will have to map SOAP:Response or SOAP:Fault to the RFC Response structure.
    Has anybody another idea to do that synchronous scenario (with usage of message mapping) without BPM?
    BR
    Holger

    1)
    you maus define 3 mapping.
    1)request
    2)response
    3)Fault
    in Interface mapping define at response boths (2-3) mapping. its clear??
    2)
    otherwise sometjhing is not clear, why do you want fault?? why dont you  get only response message. we implement this kind of response:
    <response_MT>
    <ID> (error ID)
    <system> (target system) 
    <error> (Error Description)
    </response>
    by this way fault message is not needed. but if you must have it just follow the top of message else, propose second.
    Thanks
    Rodrigo
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Feb 25, 2008 11:52 AM

  • How to configure EOIO for async RFC ----- SOAP scenario

    Hello Experts,
    I have Async. RFC----->SAOP secnario. Problem is that when the target system is down the PI system do not recoginze it and send the message successfully to target system, where the target system is down and do not show those transaction in it.
    I got the impression that , I have to make the QoS as EOIO and set up the queues in the PI.
    So, I checked both the comm channel RFC Sender and SOAP recevier but i was not able to find the option where we can make the QoS to EOIO.
    Do we need to mention the QoS in the SOAP URL in SOAP recevier comm channel . if yes please anyone can give me an example of that.
    Or do we have other option in PI to identify that target system is down and we can queue up the msgs in PI.
    I would appreciate your responses.
    Thanks.

    Problem is that when the target system is down the PI system do not recoginze it and send the message successfully to
    target system, where the target system is down and do not show those transaction in it
    No need to change the Qos in order to know the status of the target system.
    Just configure alert for Adapter Engine...when the SOAP channel tries to send the message and if the target system is down and alert will be generated (Connection Exception: Connection refused).
    This will indicate that the Target system is down....now it dpends on your business on what to do in such a case....to cancel the message or to restart it (from XI/ PI)
    Making QoS as EOIO will cause the entire queue to get blocked...and hence the following messages will also get blocked and wont be delivered even if the target system is up and running.
    Regards,
    Abhishek.

  • SOAP - RFC - SOAP

    Hi,
    I want to achieve the following:
    Have a sender SOAP adapter configuration with the following functionality:
    Expose a web method of the form
      string Method( string request )
    In other words, I want to receive a 'request' as a string using a sender SOAP adapter, call the 'Method' in the form of an RFC enabled Function module on R3 returning a string . The response I want to send back as response to the original request.
    Is this possible without an elaborate integration process or will I have to do a Synchronous / Asynchronous bridge type interface ?.
    Some guidelines / references will be greatly appreciated.
    Thanks
    Andre

    Hi,
    You can do it without BPM.
    SOAP (sync) <-> XI <-> RFC(sync)
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • File- rfc- soap- rfc

    Hi
    I have a scenario  File to rfc it has to update the rfc table & the same file request has to call soap after updating the rfc table & the response from soap has to update rfc again....
    I have designed bpm
    1)Receive step asyc to receive the file
    2)Send step aschyronus to update the rfc
    3)Send step sychronous to call the soap
    4)Transformation step to convert soap response to rfc input.
    5)Send step aschyronous to update the rfc..
    Do i need to use S/A bridge in my scenario...
    Can any one you please breif  me what steps are going to involve in bpm & Coresponding Message mappings & the interfcae mapping.
    Any responses would be greatly appreciated...
    I have seen all the related weblogs...
    Thanks
    ram

    Hi,
    The step are good if you don't need to see whether the uopdate has happened in RFC and based on that you want to go ahead.
    <i>1)Receive step asyc to receive the file</i>
    MI- Oubound async
    MI- Abstract async1
    2)Send step aschyronus to update the rfc
    MI-Abstract async1 (send step will be async)
    The above is if the data structure requred to be sent to RFC is same as in Abstract async1 else do a transformation from MI-Abstract asyn1 to abstract async2
    3)Send step sychronous to call the soap
    Here also if the metadata is not same as that of MI abstract1 then transformation step to move data to abstract sync3 (you need to have two message Interface here request response
    4)Transformation step to convert soap response to rfc input.
    response of the soap will be the input and output would be another MI for file metadata
    5)Send step aschyronous to update the rfc..
    MI for file metadata in previous step.
    6. MI -Inbound async to pass from IP to the service you are using.
    Hope this helps.
    Regards
    Vijaya

  • Error PI 7.31 RFC-SOAP Certificate Rejected

    Hi Experts,
    I'm facing an error last days.
    The scenario is, an interface was working fine in DEV, but in QAS stopped.
    DEV and QAS has the same configuration, same endpoint, user, etc....
    In QAS the error in PI 7.31 was:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by ChainVerifier
    So, I saw the certificate and it was expired. The server updated the certified.
    And now DEV and QAS stopped working, and both return the message above in PI.
    The certificate is a auto-signed, and according to the documentation there was no certificate installation in development.
    The communication is an RFC to SOAP synchronous.
    Using Proxy, and authentication.
    The communication channel was not changed, and they don't have certificate authentication.
    I requested de basis team to install the certificate in NWA, but the view does not appeard in the configuration in PI.
    So... any idea what's my problem?
    Thanks.

    Hi,
    Thanks all for the answers.
    I already requested the installation of certificate, but they don't appear in configuration of channel communication on PI:
    the certificate installed:
    Any Ideia?

  • PI  performance with synchronous RFC SOAP

    Hello everybody,
    We are in PI version 7.0 SP 10.
    I have a scenario RFC <-> XI <-> SOAP synchronous.
    In SAPR/3, when we call this RFC function by different processes simultaneously; it seems at level of PI that the message are treated consecutively and not in parallel.
    If I'm right, is it possible to change this.
    Is there anybody who can help me ?
    Thank you in advance for your help.
    Regards

    Hi Machel,
    U mean to say that , for instance same RFC in a System is called by multiple systems ,
    they all run parallely .
    I need some literature on RFC and it's performance when compared to IDOC and behaviours
    can u provide ??
    thx in advance
    rgds
    srini

  • RFC in B2B

    Hi,
    i am kind of a newbie and i am trying to connect an external system to th XI.
    Its an 4.6c System so i can't use Proxies instead i use RFC.
    I am a little confused how to configure the R/3 System and the XI-System.
    R/3:
    so far i understand that u need...
    - a RFC-Destination type 3
    - a RFC-Destination (RFC_Adapter) of type T with a registered Sever Progamm identified via Programm ID. But whats this Programm ID, is it just an identifier i specify in the Integration Directory? Or is it a real Program?
    - a RFC-Destination of type L as a Reference to the RFC_Adapter-Destination
    ...so far i read in the documentation!!
    Everything mentioned i have to configure in the R/3-System because its the sender-system - RIGHT?
    Some other questions in my mind:
    What do i have to configure in the Integration Engine? Another RFC-Destination?
    Do i need to put the external-system in the SLD - i think NO because its a B2B-Scenario and i don't know the external system-landscape!
    What to configure in the Integration Directory because its a B2B-Szenario, do i need a Business-Service?! How to configure a Business-Service?
    I would appreciate ur help, thx!!

    For RFC Sender:
    1. In Tx SM59 of R/3 (or any other ABAP based SAP system) which will execute the RFC, create a RFC Destination of Type T (TCP/IP), giving a program ID and gateway host and port of the RFC Server (usually sapgwxx, where xx is System Number).
    Usually you may use RFC Server info = R/3 system info, but when you have load balance you must make sure to use the info of the central system (dispatcher) which will do the balance.
    2. In XI, create the Sender RFC adapter on the proper Business System (or Business Service, in case of B2B). For RFC Server, enter the same info you provided in RFC Destination: gateway host, gateway port and Program ID. For RFC Metadata Repository, enter the info of the R/3 system as you would enter in SAP Logon.
    After activating the adapter, the connection will be done and you can perform connection test of that RFC Destination on SM59.
    Just remember that in your ABAP program, you will call RFC Destination through its name, not Program ID. The Program ID is just a reference ID between the two systems which are connected through RFC Server (R/3 and XI).
    Regards,
    Henrique.

  • ASync RFC -- Sync RFC -- SOAP scenario: do I need BPM?

    Hi,
    I have this scenario. ASync RFC --> PI --> Sync RFC --> PI  --> SOAP scenario.
    Here are the details.
    1. users run async RFC and it will pass data to PI.
    2. PI will call Sync RFC with received data and get the data.
    3. PI now calls web service with received data from #2.
    Do I need BPM to implement this scenario.
    Thank you.
    -Won

    I'm still wondering if it's possible to perform my scenario without using RFC lookup or BPM.
    Yes, it is possible.
    I want to see if PI supports sequence of calling RFC, JDBC, web service, etc and pass data to
    the next call in sequence... without BPM...
    Yes, PI supports that. Please make a search on SDN, there are numerous blogs / posts which talks about A/S bridge without BPM.

  • RFC-SOAP scenario

    Hi ,
    We are working on SAP to CRM Integration RFC to SOAP, in this Inovice interface, We will trigger the interface in XI, it has to fetch the records from ECC system and update in CRM system. When we are trying to trigger this interface in xi based on From and TO Dates. it is not fetching any records , it is showing zero records in Moni. when we tested the RFC in ECC system giveing the From and TO Dates it is fetching some records, through xi it is not fetching any records.
    Please let me know the reason, why data is not fetching.
    thanks in adavance.
    regards,
    Pasi

    Hi Pasi,
    when we tested the RFC in ECC system giveing the From and TO Dates it is fetching some records, through xi it is not fetching any records.
    A function module, when imported to XI/PI, consists of three messages, namely: Request, Response and Exception. When you are executing the function module in the SAP  system, you will be getting a response because the function module is located in the system itself and that the values are located in the SAP system.
    When you send the request to SAP PI, it should not be able to retrieve the values because
    1. The function module is not in SAP PI
    2. The values that will be retrieved is also not in SAP PI
    So as a solution, you need to create a function module that will call the fm in SAP and send its output to SAP PI.
    Hope this helps,
    Mark

Maybe you are looking for

  • Messages will not leave latest sent message so can send a new one

    unable to back up from latest sent message. Deleted message but stil hung up. Rebooted no change. Can not use the application

  • How can I get my computer to pair with my Mouse or Trackpad?

    My computer wouldn't pair or recognize my mouse. I restarted several times and changed batteries on the mouse with no success. I just returned from purchasing a track pad, thinking that my mouse was defective. However, I cannot get the computer to pa

  • Differences between @EJB and @Resouce?

    Hi, I am confused about the differences between @EJB and @Resource? 1. Can Session Beans be injected for both? If so what are the pro's / con's? 2. Are the any difference between the type of components that cna be registered for one but not the other

  • Disabling User Account Control - CUBAC

    Installing Cisco Unified Business Attendant Console.  Documentation says that on server 2003 / sever 2008 installations, disabling of the user account control is required.  It gives a procedure to do this on Server 2008. The install I'm working on is

  • Question about Java programming development

    There are five phases in java program development. They are: edit -> compile -> load -> verify -> execute However, every time I develops program. I only experience phase 1, phase 2 and phase 5. I always miss phase 3 and 4. When do the class loader an