on 07-31-2012 3:51 PM
Hi,
We have a HTTP to FILE scenario.
A 3rd party application is sending data to our PI server on HTTP URL:
We want to retain the file name of the sender in the receiver.
Please guide on how the ASMA should be configured so that the file generated by File receiver channel has the same name as that of the file sent by 3rd party application.
Please note: This scenario does not involve mapping and hence, ESR objects have not been configured.
Please help as this issue needs to be addressed urgently.
Thanks,
Pratibha
Hi,
In the HTTP URL, we have added 1 field : FileName that carries the value for the file name.
In HTTP sender, we have activated ASMA, and in URL Parameter 1 , we have mentioned FileName.
In File receiver adapter, we have added Dynamic Config bean before the Call Adapter module,
Module processing sequence: Module Key
AF_Modules/DynamicConfigurationBean get
AF_Modules/DynamicConfigurationBean set
Module Config:
Module key Parameter Name Parameter Value
get key.get write http://sap.com/xi/XI/System/HTTP UrlParamOne
get value.get module.filename
set key.set read http://sap.com/xi/XI/System/File FileName
set value.set module.filename
But, in the audit log it shows as the value of the property module.filename is being set to "null".
Please help.
Thanks,
Pratibha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pratibha
Try this, it worked for me:
Module processing sequence: Module Key
AF_Modules/DynamicConfigurationBean get
AF_Modules/DynamicConfigurationBean set
get key.0 write http://sap.com/xi/XI/System URLParamOne
get value.0 module.filename
set key.0 read http://sap.com/xi/XI/System/File FileName
set value.0 module.filename
URLParamOne must begin with capital letters
Kind regards
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.