Comments On Outbound XML Files

Comments On Outbound XML Files

Post by bomb » Sun, 15 Jun 2008 02:34:28


Guys,
Is there anyway to prepend comments(like <!--Confidential information!
Do not distribute!-->
<!-- MessageId: 1064600-->) to an outgoing xml file in biztalk.
I have did this with creating a custom send pipeline component.But it
seems to add some garbage characters along with the original xml data.
Please let me know if there is anyway you can create dynamic comments
on the outbound message.
 
 
 

Comments On Outbound XML Files

Post by YmhhcmF0a » Sun, 15 Jun 2008 02:45:01

Guys,
Is there anyway to prepend comments(like <!--Confidential information!
Do not distribute!-->
<!-- MessageId: 1064600-->) to an outgoing xml file in biztalk.
I have did this with creating a custom send pipeline component.But it
seems to add some garbage characters along with the original xml data.
Please let me know if there is anyway you can create dynamic comments
on the outbound message.

 
 
 

Comments On Outbound XML Files

Post by RW5yaXF1ZS » Wed, 23 Jul 2008 05:35:00

probably the garbage you are getting is the byte order mark, you can remove
them (in your custom pipeline ) just set the preserve byte order mark to
false.
about the comments you need to add, it should be quite simple add using a map.