cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic filename for HTTP_AAE receiver

former_member842005
Discoverer
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member842005
Discoverer
0 Kudos

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.

amysh95
Participant
0 Kudos

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