Skip to Content
avatar image
Former Member

Re:Designing a scenario Soap to RFC

this is my scenario

Recieve a soap request in XI from that request into a rfc and send towards r/3, get the response from r/3 map that into a soap response and send towards systemA

Can i get a complete step by step high level design for this scenario....i reward well..:)


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 07, 2007 at 02:13 AM


    The overall scenario is Synchronous scenario.

    The sender adapter - SOAP, receiver adapter - RFC.

    Create Synchronous O/B Interface.

    Create two message mapping programs:

    - <b>Mapping1</b> for SOAP request to RFC request [ Source - SOAP request, Target - RFC request]

    - <b>Mapping2</b> for RFC response to SOAP response [ Source - RFC response, Target - SOAP response]

    Create one Interface mapping program

    Source - Synch O/B Interface

    Target - RFC Message

    After clicking Read Interfaces, In Request tab - choose Mapping 1, In Response tab- choose Mapping 2.

    Rest of the configuration's are as usual.

    If you need more input, please let me know!!


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Let me check with a friend..i think we ran into the same issue...and we fixed for the mappings...those who suggested that you map rfc request to non rfc request..obviously havent done this before....:-))..else they would know it wont work


      Ravi Raman

  • avatar image
    Former Member
    Nov 07, 2007 at 02:50 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2007 at 04:27 AM

    Hi Venkat,

    yours is a Synchronous Scenario.

    Here are the steps:

    Design part:

    Import ur RFC into SWCV,

    Create ur create messagetypes according to ur WSDL,

    create messsage interface at outbound as Synchronous,

    Do mappings for Request and Response,

    Assign the request and response mappings in ur Interface mapping,

    Configuration Part:

    Create a sender SOAP adapter and enter the parametrs like Outbound interface,namespace and Make sure that ur QOS is BE.

    Create a RFC Adapter as receiver and give the Parameters to connect SAP sys

    Create Sender and receiver agreements and also receiver determination and interface determination,then Activate the objects.

    Test the scenario using Altova XML Spy or SAP Clinet tool .

    And also go through these links for reference:

    How to create Webservices:

    Web Services Development in ABAP [original link is broken]









    /people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool [original link is broken]




    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2007 at 06:28 AM

    Do the Following steps in order which i have do 2 days back and scenario will work fine

    U r should know the SOAP request and SOAP response structure.

    in IR :

    1. Import the RFC

    2. Create Data type for SOAP request and then create message type same.

    3. Create Data type for SOAP response and then create message type for same.

    4. Create SOAP Outbound Synchronize Message Interface

    5. Create SOAP Inbound Synchronize Message Interface

    6. Create Message mapping for

    Sender as SOAP request message and

    Receiver as RFC request message and do the mapping.

    7. Create Message mapping for

    Sender as RFC response message and

    Receiver as SOAP response message and do the mapping.

    8. Create the Interface Mapping and specify required data under request and response tag. Remember there is only one interface mapping.

    Now u have done with IR.

    in ID :

    1. Create following communication channels :-

    At sender side:

    Soap adapter : specify default interface name as Outbound message


    At Receiver side:

    RFC adapter : fill required data

    2. Go to Tools > define web services

    follow the steps.

    in 1st step it will ask for URL.Refer the following URL:

    http://XIServerName:Port/XISOAPAdapter/MessageServlet?channel=party:service name:communication channel name

    and then it will ask for Integration Repository that you want to publish : outbound message interface name.

    3. finally it will create wsdl file. save it somewhere. it will further used to send SOAP request thru ALTOVA XML SPY Enterprise Edition.

    4. Now create receiver determination, sender agreement, receiver agreement, Interface determination.

    In Software Altova Xml spy.

    1. Open Altova spy.

    2. Go to SOAP > create new soap request.

    3. enter URL of WSDL file which is saved after created in ID and open it

    4. Give the Input into that file.

    5. goto SOAP > send SOAP request.

    6. and u will get SOAP response there itself.

    If any doubt plz let me know.

    Add comment
    10|10000 characters needed characters exceeded