cancel
Showing results for 
Search instead for 
Did you mean: 

soap to soap scenario with multiple operations

Former Member
0 Kudos

hi experts,

i am doing soap to soap sceanrio with multiple operation at receiver side. how to do the multiple operations at receiver side.

regards,

alekya reddy.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi alekhya,

We have two approaches to handle the Multiple Operations at Soap Receiver Side.

1. Based on the number of Operations we have to create those many Service Interfaces and Receiver Communication channels and Receiver Agreements.

Drawback: If we have u2018nu2019 Operations then we need to create u2018nu2019 Service Interfaces and Receiver Communication Channels and Receiver Agreements. This is not an apt Solution in PI perspective.

2. By Creating Single Service Interface with multiple operations and Single Receiver Communication Channel and Receiver Agreement we can achieve this.

In the Second Approach we are going to use Dynamic Configuration Concept to get the Soap Action Dynamically from the Mapping.

As we are going to pass Soap Action Dynamically we have to write an UDF using Dynamic Configuration to handle the Soap Action.

DynamicConfigurationKey keyURL = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP","THeaderSOAPACTION");

DynamicConfiguration conf =

(DynamicConfiguration) container.getTransformationParameters ().get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);

String soapAction = "http://www.Nanonull.com/TimeService/getCityTime";

conf.put(keyURL, soapAction);

return soapAction;

regards,

ganesh.

Answers (0)