on 01-08-2008 10:40 AM
Hi,
i'm sending an Email with the Receiver Mail Adapter and i'm using the Mail Package. The Content is send as an Attachment.
The Mail Package looks like this:
<ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">
<Subject>Order</Subject>
<From>mymail@test.com</From>
<To>customermail@test.com</To>
<Content_Type>text/xml;name="Order.xml"</Content_Type>
<Content>
<LiefOrder>...</LiefOrder>
</Content>
</ns0:Mail>
The attachment "Order.xml" has the following content (With ... as the substructures of LiefOrder):
<LiefOrder>
...
</LiefOrder>
I want to achieve that the content of the attachment looks like this:
<?xml version="1.0" encoding="utf-8" ?>
<ns0:LiefOrder xmlns:ns0="http://mynamespace.com/lif">
...
</ns0:LiefOrder>
Any ideas how to get this done are welcome
regards,
ms
U may write a java mapping code to get ur required structure and map it to the "content" of ur mail inside the mapping. Then when u use "Keep Attachment", it will create the required thing in ur attachment.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.