on 07-30-2010 5:25 PM
Hi,
I need to have a dynamic URL for one of my cases been worked. the URL is
httlp://:<host>/perform/XTA?serv=*&action=start
the event "action" can accept either start/stop or restart. i wanna to control this dynamically and went for recv http enabled with adapter specific message attributes. here i had enabled the check box "URL" and in parameter 1 i had given the name as "action".
in my message payload the "action" will be start/stop or restart which is handled by UDF for which the code is below:l
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey trig = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
conf.put(trig,action);
return "";
this udf is mapped to the root node of the target...but when execute the case i get the following error
"Dynamic Header - Missing Message Attributes: URL/HTTP Destination"
when i execute the url
httlp://:<host>/perform/XTA?serv=*&action=start
in browser it works fine and also with fully qualified name in http recv works fine but not with dynamic settings.
any help on it pls?
any hints/solution on it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.