on 07-07-2010 6:27 AM
Hi...
I have a sender file adapter and HTTP receiver adapter.
In HTTP adapter, in the parameter "ent-filename" , I want to retain the name of the file that was picked.
In Sender File adapter, I have checked the File Name under Adapter specific message attributes.
In the HTTP receiver , I tried putting the value for ent-filename as %FileName% .
When I check in sxmb_moni, it shows me the ent-filename = %FileName%, but not the actual file name.
Kindly help!
Thanks,
Pratibha.
In HTTP adapter, in the parameter "ent-filename" , I want to retain the name of the file that was picked.
What parameter do you mean?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is a blog how to provide the HTTP header fields:
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
If you do not want to write a UDF, you can do it like described in that blog:
/people/stefan.grube/blog/2009/06/19/unknown-use-case-of-dynamicconfigurationbean-store-file-name-to-jms-header-without-mapping
Put the modules in sender channel and use the parameters of HTTP adapter.
For the second DynamicConfigurationBean you use parameter :
key.1 read http://sap.com/xi/XI/System/HTTP HeaderFieldOne
In HTTP adapter config you put ent-filename into "Field 1"
Getting the error "no header mapping defined" in sxmb_moni-> Trace.
In sxmb_moni->DynamicConfiguration, I can just see - http://sap.com/xi/XI/System/File FileName - and the file name.
regards,
Pratibha.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.