DarkW1nter
DarkW1nter

Reputation: 2841

Receive pipeline to unescape XML

We use an MSMQ type receive location, but have noticed when it receives messages they contain escaped XML. I'm thinking I need a receive pipeline to unescape it, can anyone tell me what component(s) should be used? I can't see anything obvious in the toolbox.

thanks

Upvotes: 1

Views: 101

Answers (1)

zurebe-pieter
zurebe-pieter

Reputation: 3266

There is a very nice tool out there which helps you a lot in being able to create a pipeline component from scratch. It will create the 'bodywork' for a pipeline component, so you can start development right away.

The tool is called: BizTalk Server Pipeline Component Wizard

Once this is in place, create a custom receive pipeline component.

Depending on what stage of the receive pipeline component you would want the pipeline component to execute, you will need to get your hands dirty and copy and 'change' the message.

Here is a nice blog article which gives a nice overview, step-by-step, on how to do the above (with exception of the editing):

http://geekswithblogs.net/bosuch/archive/2012/01/24/creating-a-custom-biztalk-2010-pipeline-componentndashpart-i.aspx

And here is a nice link which gives a sample on how you would potentially change a message in a pipeline component:

https://dipeshavlani.net/2011/04/15/modifying-xml-document-in-a-custom-pipeline-component/

Hope this helps!

Upvotes: 3

Related Questions