Skip to Content

Synchronous SOAP to Proxy scenario

Hi Experts,

We are working on PI 7.3 dual stack where the requirement is SOAP to Proxy scenario, so which will have one request from Webservice and which will be passed to SAP ECC & in turn the response from SAP ECC should be posted back to Webservice. The connectivity between SAP ECC & PI already exists, Kindly help me on below questions:

1. What roles should be assigned to user used by SOAP request to access PI system [I mean during request call] ?

2. What are the pre-requisites apart from connectivity b/w SAP ECC & PI or information that should be collected from webservice team apart from WSDL?

3. Should I create 2 different data types of Proxy call to SAP ECC for both request & response.

4. Totally how many data types, message types, service interfaces & Message mappings that should be created?

5. Should an RFC destination created during request call to SAP ECC while Proxy receiver channel?


Kindly guide me.


Thanks,

Ramu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Aug 03, 2016 at 06:16 AM

    Hi Ramu,

    Harish has already answered your queries. I will tell you about few helpful checks

    1. What roles should be assigned to user used by SOAP request to access PI system [I mean during request call] ?

    Will this web service be called from your landscape or out of your landscape. If its from out of your landscape then you need to do public to local IP Natting for this and the URL with public IP need to provide to the 3rd part system that will call the web service. In runtime public to local IP conversion will happen.

    2. What are the pre-requisites apart from connectivity b/w SAP ECC & PI or information that should be collected from webservice team apart from WSDL?

    Here you are using outbound SOAP scenario so you are responsible for providing WSDL. Here PI will host the WS. But you can take XSD from your sender party that will call your WS.

    3. Should I create 2 different data types of Proxy call to SAP ECC for both request & response.

    4. Totally how many data types, message types, service interfaces & Message mappings that should be created?

    Harish already answered


    5. Should an RFC destination created during request call to SAP ECC while Proxy receiver channel?

    You can simply select URL address in your receiver XI CC if you are using dual stack and SOAP if you are using single stack and put below -

    Dual Stack - http://host:port/sap/xi/engine?type=entry

    Single Stack - http://host:port/XISOAPAdapter/MessageServlet ...........

    But better to create one connection type H in case of dual stack and one RFC connection in PI NWA- Configuration- Destination in case of single stack and use corresponding name in PI receiver channel selecting HTTP destination.

    Thanks,

    Apu

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Apu,

      Thank you for your time & response.

      Here client confirmed that we can use same structure for both source & target systems but request and response data structures will be different, so I am thinking to go for Synchronous pass through scenario. So please guide me on the necessary to go ahead. Thanks!

      -Ramu G.

  • Posted on Aug 03, 2016 at 05:45 AM

    Hi Ramu,

    1. What roles should be assigned to user used by SOAP request to access PI system [I mean during request call] ?

    -->> The below standard role should be good enough

    • SAP_BC_WEBSERVICE_PI_CFG_SRV
    • SAP_XI_APPL_SERV_USER

    3. Should I create 2 different data types of Proxy call to SAP ECC for both request & response.

    -->> Yes you need to create two data and message type and two mappings for request and response.


    4. Totally how many data types, message types, service interfaces & Message mappings that should be created?

    -->> 1 service interface, 1 operation mapping, 2 messsage mapping


    5. Should an RFC destination created during request call to SAP ECC while Proxy receiver channel?


    -->> Using RFC destination in channel is the best practice, but you can also maintain the connection parameter and credential in channel.


    regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2016 at 05:48 AM

    Hi Ramu, 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 ECC Services. Configure CC with required parameters in Sender SOAP CC and Receiver XI CC. Generate wsdl from Sender agreement and save it as a local file. provide the WSDL and URL to application team. Please provide the Username and password to consuming the webservice to application team and check whether u have assigned the roles to tat user. Regards Srinivas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.