Skip to Content

Synchronous Scenario Interface- SOAP to Proxy and Proxy to SOAP

Dear All,

I have a requirement for synchronous SOAP to Proxy scenario. 1st flow 3rd Party->PI->ECC, 2nd flow ECC->PI->3rd party

I have created the below objects:

> Create DT and respective MT for Request and Response.

> Create Service Interfaces with Synchronous mode with respective MT's.

> Create Two separate MM with respective Request and Response MT's.

> Create Operation Mapping and call both Request and Response Mappings in it.

> Complete the Configuration part considering Sender SOAP and Receiver XI adapter to connect to ECC.

> Configure CC with required parameters in Sender SOAP CC and Receiver XI CC.

Now, my question is for sending the message from PI to 3rd party, what kind of configuration is required. Do we need to create a SOAP receiver channel in PI to connect to 3rd party. But as you see we have already used XI adapter channel in receiver agreement to connect to ECC, so now how can we connect to 3rd party for sending the response? As I understand, there will be only 1 configuration scenario.

Thanks,

Amita

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Aug 19, 2015 at 02:14 AM

    Hi Amita,

    Now, my question is for sending the message from PI to 3rd party, what kind of configuration is required. Do we need to create a SOAP receiver channel in PI to connect to 3rd party. But as you see we have already used XI adapter channel in receiver agreement to connect to ECC, so now how can we connect to 3rd party for sending the response? As I understand, there will be only 1 configuration scenario.

    No more additional configuration is required. The hoplist in the Soap header will take care of sending back the response to the sender.

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 18, 2015 at 05:55 PM

    You'll configure the sender soap channel and share the wsdl with your third party who'll consume the service and send the messages to PI using a URL.

    Configuring the Sender SOAP Adapter - Advanced Adapter Engine - SAP Library

    Just search for sample synchronous scenario using SAP PI.

    You'll find lot of information on SCN.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Amita,

      No need of SOAP receiver channel.

      Actually we have an option to display WSDL in IB.

      if you try  to send the data using SOAP UI with that WSDL, there you can see the response structure also.

      That is PI internal mechanism with respect to Service interface.

  • Aug 19, 2015 at 11:51 AM

    Hello Amita.

    ESR:

    1.Create Data Types.

    2.Create Message Types.

    3.Create O/B and I/B Service Interface with Sync Mode.

    4.Create MM  for request  and response

    5. Create OM(In MM once you give read operations both request and response mapping options will appear,Selecte the MM accordingly).

    ID.

    1.Create two Channels one Soap sender Channel with QOS "Best Effort" and other ID objects.

    2.In the sender aggrement you will find the Display WSDL option.Give this to Client.

    Testing:

    Once the proxy code is ready with request and response,When the client tests this scenario response will go directly.No need of any additional setting.

    If your struck some where let us know.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 18, 2015 at 07:09 PM

    Hi,

    Yes you are correct and as far as I know you will have only one scenario.
    that is sync scenario

    Well, as per your scenario
    3rd party <-> PI <-> SAP ECC

    3rd party gets the response from ECC.
    When the interface works correctly .

    May be the following scenario can be a visual help.

    http://www.saptechnical.com/Tutorials/XI/SOAP2JDBC/Page1.htm

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 19, 2015 at 07:19 PM

    Thanks all for your inputs.

    Add comment
    10|10000 characters needed characters exceeded