on 05-18-2016 2:27 PM
Hi All,
Looking for help to build dynamic URL for REST Receiver.
Checked for REST Metadata there are no Dynamic attributes for REST , In the scenario ,we are trying to create entire URL in Udf and Pass to REST URL same like SOAP.
Thank
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
construct the url in the udf. in the communication channel select as adapter specific attributes.
in my interface i was passing po number in the url dynamically, you can try something like this.
UDF:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); |
DynamicConfigurationKey FileName1 = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/REST","po");
conf.put(FileName1, po);
channel configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.