Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8082

Re: How can Request output value be mapped to Response output field ???

$
0
0

Dear All,

 

Thanks for your inputs..

 

We are able to acheive the above using simple Dynamic Configuration.

 

UDF at request mapping..

 

 

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

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

conf.put(key1,var1);

return "";

 

 

UDF at Response Mapping..

 

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

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

String string1 = conf.get(Variable);
return string1;

 

Regards,

Farooq


Viewing all articles
Browse latest Browse all 8082

Trending Articles