Skip to Content
0
Former Member
Jan 08, 2008 at 10:40 AM

Receiver Mail Adapter: Modify XML Structure in Attachment

15 Views

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:

http://sap.com/xi/XI/Mail/30">

<Subject>Order</Subject>

mymail@test.com

customermail@test.com

<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" ?>

http://mynamespace.com/lif">

...

</ns0:LiefOrder>

Any ideas how to get this done are welcome 😉

regards,

ms