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