on 02-07-2023 11:29 AM
Hi,
We have a scenario from sender FTP server to receiver HTTP. We want to pass the filename as dynamic parameter in the URL path. We used a java mapping and updated URL parameters in HTTP receiver channel.
Attached the screenshots for sender ftp, java mapping and receiver HTTP channels.file-config.png java-mapping-code.txt http-receiver-cong.png
The message is delivered to target system but they receiver filename as {fname} which is configured in the receiver channel. http-receiver2-cong.png
Could you please suggest how to resolve this.
Thanks in advance.
Hi Aman,
Thank you for your response. We have tried the namespace you suggested.
We also used the below options as well but nothing worked.
Java Mapping Code:
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System","UrlParamOne");
conf.put(auth, fname);
We have tried below combinations in the java mapping.
Option 1:
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP_AAE","UrlParamOne");
conf.put(auth, fname);
Option 2:
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP ","UrlParamOne");
conf.put(auth, fname);
Option 3: (Capital URL in URLParamOne)
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System","URLParamOne");
conf.put(auth, fname);
Option 4: (Capital URL in URLParamOne)
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP_AAE ","URLParamOne");
conf.put(auth, fname);
Option 5: (Capital URL in URLParamOne)
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP ","URLParamOne");
conf.put(auth, fname);
Option 6: (Capital URL in URLParamOne)
DynamicConfigurationKey auth = DynamicConfigurationKey.create("http://sap.com/xi/XI/System","TargetURL");
conf.put(auth, fname);
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
namespace for HTTP_AAE adapter you are using wrong.
Please remove HTTP_AAE at the end and try again.
namespace: http://sap.com/xi/XI/System
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.