Skip to Content
avatar image
Former Member

Dynamic url with soap reciver adapter

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 This key will hold the dynamically created URL
DynamicConfigurationKey key = DynamicConfigurationKey.create("", "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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 14, 2017 at 12:13 PM


    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.



    Add comment
    10|10000 characters needed characters exceeded