on 05-10-2007 9:59 PM
Hi all
We have configured the sender mail adapter to receive attachments (.txt or .csv) using the PayloadSwapBean. Our next step is to save the attachment to a file. We don't want to do any mapping, just save the file. Is it possible? How?
Waiting for a response
Regards
Salil
Hi Michal
Thanks for the reply. When you say standard configuration, how does one do that? I asked the same question a couple of days ago as well but it seems I'm missing a basic step.
Would be helpful if you could let us know.
Thanks a lot
Salil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey
u have to do it like a File to File scenario,only difference u can download the standard mail package from marketplace and import tha as an XSD in IR and use that as sender MT.
then do message mapping and interface mapping,and in ID configure a sender Mail adapter and receiver File adapter.
infact u might be able to do this scenario withour any IR objects,have a look at the following
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
u just need to do mail to file instead of File to file.
i frankly never tried without IR but i dont see any reason why u should not be able to achieve this without IR
try it and let ur know if u hit any roadblocks
thanx
Ahmad
Salil,
As you do not have any mapping, all you would be doing is a Mail to File Scenario without the Interface mapping,
Your datatypes can be a dummy datatype as you do not have any mapping.\
If you use the PayloadSwapBean and are able to swap the attachment all you do is the configuration in the ID and things will work as expected.
Regards
Bhavesh
hey Bhavesh
Gud morning:) i have a small question here,if i m not wrong we can import the mail package from marketplace under any namespace,not necessarily the one which SAP recommends,then whats the difference between importing under our own namespace or creating a new one as per SAP guidelines and importing in that?
thanx
Ahmad
well i mean to say that since we dont necessarily have to create a namespace http://sap.com/xi/XI/Mail/30 and import the mail package there,we can also import the sender mail package under any namespace,right?
then what difference ,if any, does it makes in between the two cases?
thanx
Ahmad
Hi,
if you used PayloadSwapBean then you have the attachment in
the main message so you do standard confiuration which will save the
message to a file
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.