on 07-08-2011 4:11 PM
Hi Experts,
Anyone used the MultipartHeaderBean module? I'd like to use this header bean to send a flatfile to a receiving system that accepts multipart/form-data posting.
From the link provided by SAP HELP [Adding MultipartHeaderBean in the Module Processor|http://help.sap.com/saphelp_nwpi711/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm] it only shows on the module configurations:
1. Under Parameter Name, enter requiredHeaders.
2. Under Parameter Value, enter one of the following values:
All
All available attributes of main payload and available attributes of each attachment payload are added in dynamic configuration.
Comma separated list of attribute names
Only mentioned attributes of main payload and mentioned attributes of each attachment payload, if available, are added in dynamic configuration.
3. Under Parameter Name, enter dcNamespace.
4. Under Parameter Value, enter the value of namespace under which the attributes of main application payload and attachment payloads should be added in dynamic configuration. This namespace should be the same as the attribute namespace of the adapter in which this module is added.
How do we insert for example in the output the following:
1. Credentials (Username/Password) Content-Disposition: form-data; name="user" Content-Disposition: form-data; name="password"
2. Content-Type: text/plain; charset=ISO-8859-1, Content-Transfer-Encoding: binary
Or are these information standard on the results after passing to the bean?
Cheers,
R-jay
The MultipartHeaderBean is intended to be used in sender mail adapter. You can see this in online help.
form-data is not supported in PI standard and you have to use Java mapping or other work arounds to make it run.
It is not too difficult and I hope there will a weblog or WIKI entry for this topic as this is requested often.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
if you want to create new header line, you can use receiver adapter file contents conversion.
http://help.sap.com/saphelp_nwpi711/helpdata/en/44/70ec8a20453abee10000000a155369/frameset.htm
addHeaderLine will add new header line to your receiver file.
Naoki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.