on 10-25-2011 10:30 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.