Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Dynamic URL in HTTP_AAE PO 7.40

$
0
0

Hi All,

 

We are configuring IDoc to HTTP scenario with HTTP_AAE adapter on receiver channel. Our requirement is to dynamically generate the URL based on values from payload.

 

Required URL: http://testserver.com/DemoPath/HTTPController?DELIVERY/PLANT1234

 

We have added

testserver.com in URL address

/DemoPath/HTTPController - in the Path field

 

and the values DELIVERY/PLANT1234 is to be generated dynamically from Payload.

 

To achieve this we have written below UDF, with value DELIVERY/PLANT1234 as input.

 

----------------------------

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

 

 

DynamicConfigurationKey parmValue;

 

 

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

conf.put(parmValue, "URLParamOne");

 

 

return "";

-----------------------------

 

And in channel we have used ASMA parameter URLParamOne.

 

 

But we are not sure if the above setup is correct, as there are no traces for this in DynamicConfiguration log of Mesage monitoring. Please let us know if there is any way we can check the working of this ASMA parameter in logs and create this URL without a "=" in dynamic value.

 

Regards,

Aditi


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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