Changing "Document Schema" on pipeline instance

by eliasen 22. december 2006 20:47

Hi

I have just played quickly with receiving flat files.

Often, people create a receive pipeline for each flat file messagetype that must be received. This is done because the flat file disassembler needs to know exactly which document schema is to be used to parse the incoming message, as opposed to the XML disassembler, which will find the schema at runtime. So instead of having several flat file disassemblers in one pipeline, often, many pipelines are created.

BUT, I'd just like to point out that with BizTalk 2006, you can change properties of the pipeline components on a per instance level. So double click on your receive location, click the ellipsis on the pipeline and go to the "DocumentSpecName" property of the flat file disassembler. Why they haven't called it "Document Schema" as it is called in the pipeline designer, I don't know!

Anyway, here you can specify which document schema this pipeline instance should use. You must specify the fully qualified .NET typename of the schema, however. And it is a textbox, not a drop down, as in the designer. You can get the .NET typename by clicking on the .xsd in solution explorer, and taking it from the "Fually Qualified Name" property.

Hope this was helpful

--
eliasen

Tags:

BizTalk 2006

Comments (3) -

Eric Stott
Eric Stott
19-02-2007 11:09:38 #

BUT, I'd just like to point out that with BizTalk 2006, you can change properties of the pipeline components on a per instance level. So double click on your receive location, click the ellipsis on the pipeline and go to the "DocumentSpecName" property of the flat file disassembler. Why they haven't called it "Document Schema" as it is called in the pipeline designer, I don't know!

Where again is this? When I have opened up the Receive Location I only get a drop down list of my deployed schemas.

Reply

Jan Eliasen
Jan Eliasen
19-02-2007 18:01:07 #

Hi Eric.

First of all, this is only for BizTalk 2006.

If you open up the BizTalk Server2006  Administration Console, and get down to a list of receive locations. Then, double click on a receive location, and then, just to the right of the chosen pipeline for that receive location, you can click on the two dots "..". That will give you a screen, where you can change the following properties of the flat file disassembler; DocumentSpecName, HeaderSpecName, PreserveHeader, RecoverableInterchangeProcessing, TrailerSpecName and ValidateDocumentStructure. So just alter whatever property you need to alter here and click OK.

I have no idea where you are getting the drop down list of deployed schemas? Here, the DocumentSpecName is a textbox and not a drop down list.

--
eliasen

Reply

Eric Stott
22-02-2007 00:13:56 #

That is pretty cool. What this means is that you really only need to deploy a single recieve and send pipeline. I discovered about that and talked about it <a href="blog.biztalk-info.com/.../a>;, and now I learn about the receive pipeline can do something similar.

Cool

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About the author

Jan Eliasen is 37 years old, divorced and has 2 sons, Andreas (July 2004) and Emil (July 2006).

Jan has a masters degree in computer science and is currently employed at Logica Denmark as an IT architect.

Jan is a 6 times Microsoft MVP in BizTalk Server (not currently an MVP) and proud co-author of the BizTalk 2010 Unleashed book.

BizTalk Server 2010 Unleashed


Buy from Amazon

Microsoft MVP


6 times: July 2004, July 2008, July 2009, July 2010, July 2011, and July 2012. Not currently an MVP.

MCTS

Image to show

Month List

Page List