Testing BizTalk Multiple Source Maps

I was in a situation where I needed to test a multiple input map, but really didn’t want to run the entire orchestration to do it. I discovered that simply wrapping my messages in the following XML will allow me to run it as a test map XML source in the IDE.

I just needed an instance of each message being consolidated in the multi-source map shape in the orchestration. I pulled these from tracking in the production environment I’m working on.

<ns0:Root xmlns:ns0=”http://schemas.microsoft.com/BizTalk/2003/aggschema“>

<InputMessagePart_0>

<PUT_XML_INSTANCE_HERE/>

</InputMessagePart_0>

<InputMessagePart_1>

< PUT_XML_INSTANCE_HERE_2/>

</InputMessagePart_1>

</ns0:Root>

Works like a charm and saved me a ton of time troubleshooting a mapping issue.

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s