Thursday, April 22, 2010

How to test the Custom pipeline without deploying?

This article is being referenced from Thiru's blog which you can find at:
http://biztalktutor.com/2008/01/06/how-to-test-the-custom-pipeline-without-deploying/

Thanks Thiru for wonderful article.

To test the Custom pipeline, you don’t have to deploy the application. You can use command file tools available in “C:\Program Files\Microsoft BizTalk Server 2006\SDK\Utilities\PipelineTools” For that you need sample input file with the schema.

xmldasm batch.xml –ds custdoc.xsd –es custenv.xsd

where, xmldasm.exe – xml disassembler stage component.
batch.xml – sample input file to be tested
custdoc.xsd – document schema
custenv.xsd – envelope schema
-ds/es – mentioning the document schema/envelope schema

If your input xml file succeeds, you will get a output xml file. Otherwise you will get an error message.


The same way, you can use,
xmlasm.exe for xml assembler stage component
ffasm.exe for Flatfile assembler stage component
ffdasm.exe for Flatfile disassemble stage component

You can also use file name macros like “%MessageID%”, “%MessagePartID%”.


For more information, use simply file name like xmldasm, you will get detailed parameters and options.

No comments:

Post a Comment