Skip to Content
0

Dynamic url with soap reciver adapter

Jul 14, 2017 at 11:36 AM

130

avatar image
Former Member

Hi All,

We have Interface between ECC(IDOC) to MII(SOAP) system. So MII side they are using different URL's. for this we are trying Dynamic URL configuration with Soap receiver channel. I have done the steps, In the PI system messages are getting success but its not Reached to MII system. please help on this issue.

SAP PI system is 7.5

Please find my below for configurations:

UDF in Mapping :

//Get the dynamic configuration from the container
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

//Create the TServerLocation key in namespace http://sap.com/xi/XI/System/SOAP. This key will hold the dynamically created URL
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TServerLocation");

//Put the url value from the input in the configuration under the specified key
conf.put(key, url);

//return the data for mapping to the output
return "";

Soap Receiver channel configuration:

zrzoj.png (16.7 kB)
dasqb.png (15.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Manoj K Jul 14, 2017 at 12:13 PM
0

Rajendar,

Your Configuration look fine , just check the dynamic config is working fine by looking into channel monitoring log .

Few suggestions :

1.You have used "Do not Use SOAP Envelope" so i believe you are building envelope in mapping.

2.Try to test with SOAP UI then check the RAW data of SOAP UI with the data being sent from PI system by enabling HTTP Trace in channel level.

3.Some times the messages are successful but wont be reached to target in case of mismatch content-type . so testing with SOAP UI will be helpful in your case.

Br,

Manoj

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Manoj,

Thank you for your response,

We have tried all above possibilities but no luck, Message not reached to MII system. we have followed below links also. Please provide if any other inputs for resolve this issue.

https://archive.sap.com/discussions/thread/2148451

https://archive.sap.com/discussions/thread/1984226

Regards,

Rajendar

0