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

Dynamic Query string in Receiver HTTP_AAE adapter

$
0
0

Hi All,

     Currently I am working with a scenario where I need to use HTTP_AAE receiver adapter. I need to create the query string http://server:port/WebOrder?param=value dynamically.

 

I created below mentioned UDF.

 

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

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

conf.put(urlParameter1, "value");

return "";

 

In configuration part I entered below mentioned details in HTTP receiver adapter,

 

Target Host: server

Target Port: port

Path: /WebOrder?

 

Click Set Adapter specific Message properties

Click URL Parameters

I entered "param".

 

But I am getting the below mentioned error.

exception caught with cause com.sap.aii.adapter.http.api.HttpAdapterException: STATUS_CODE_NOT_OK-Not Found.

 

 

Could you please help me here.

 

Thanks

Dipankar


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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