Geeks With Blogs
That BizTalk guy from India Benny Mathew

Everybody knows that you need to use a custom pipeline to debatch an XML file, where you use a custom XML disassembler pipeline component to specify the Envelop schema and Document schema.

Well, you can do it with the built-in XMLReceive pipeline as well, provided you don't require advanced features like preserving header information, 'Recoverable interchange processing' or validating document structure  etc.

Do the following:

1. Create and deploy an envelope schema (Set the Body XPath property of the root node to the appropriate record in the envelope schema)
2. Create and deploy the document schema
3. Make sure the message you are receiving is an instance of the envelope schema
4. Make sure that the namespace and root node name of the document schema aligns with the MessageType of the debatched message (you may have to set the 'Element FormDefault' property of the Envelope schema to 'Qualified')


All of the above are something that you will anyway make sure even when using a custom pipeline, so nothing new.

Benny Mathew
Seamless Integrations
BizTalk Consulting, Development, Training
Bangalore, India
http://www.seamless.in
http://GeeksWithBlogs.net/benny

Posted on Thursday, February 15, 2007 12:47 AM | Back to top

Copyright © Benny Mathew | Powered by: GeeksWithBlogs.net | Join free