SOAP to RFC scenario with multiple operations
I have many SOAP to RFC synchronous scenarios in our landscape of SAP PI 7.31 AEX and SAP R/3 4.7 wherein XYZ non-SAP system calls different SAP PI webservices (having diff input & output parameters) to fetch SAP R/3 data using different RFCs.
Client is asking for single webservice (because of single sender-XYZ and single receiver-SAP R/3) which will contain different operations (SOAP actions/methods) to call different RFCs and get data from SAP R/3. Is it possible to create only single SAP PI webservice? If so then how?
Indrajit Sarkar replied
Yes it's possible to achieve this in PI. Suppose you have three different structure. So create 3 data type and message type for the structures.
Create one service interface and inside it add 3 operation. Each operation will contain a separate mesasge type. Create three mapping and operation mapping.
In the integration directory, make the receiver determination as operation specific.
Then generate the WSDL from sender agreement or ICO and give it to the sender side. They will be able to call each of the operation from their side.
Let me know if you have any doubts on any steps.