Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

how to pass sender HTTP dyanmic configuration url parameters to pass to target message.

$
0
0

HI Exeperts.

 

 

I am working on requirement http-post to pdoxy scenario .presently i am passing the data in url from the http post .

i writed the udf for target side mapping, but he url parameters will  have only in soap header dyamnamic configuratio thes values are not coming to target message .

below is the code for udf handle the dynamic configuration .

***********************************************************************

DynamicConfiguration conf = (DynamicConfiguration) container

  .getTransformationParameters()

  .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

 

if (urlParam[0] == 1) {

DynamicConfigurationKey merchantId = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/","URLParamOne");

 

String fname = conf.get(merchantId);

value.addValue(fname);

 

}

else if (urlParam[0] == 2) {

DynamicConfigurationKey string = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/","URLParamTwo");

value.addValue( conf.get(string));

}

**************************************************

url values will be in the soap header dyamic configuraton filed level.

 

 

how can i map these field to target message?

Please help us its very urgent issue?

 

Regards

Ravinder


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>