BizTalk Server Orchestration - Different messages arriving in the same folder

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2005 > Different messages arriving in the same folder





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Different messages arriving in the same folder
Craig HB

2005-09-07, 5:52 pm

I have an orchestration for processing invoices (Invoice.odx) and another for
processing credit notes (CreditNote.odx). The invoices and credit notes are
obviously different (ie they have different schemas), but are dumped into the
same folder and the file name does not indicate which type they are. The
root element names are <invoice> and <creditnote>.

How do I make sure that the invoice.odx only collects the invoices and the
same with the credit notes ?

Thanks,
Craig
Matt Milner

2005-09-07, 5:52 pm

bind both orchestrations to the same receive port and make sure you have an
xml disassembler in the receive pipeline (the default xml pipeline works).
The orchestration will have the message type in its subscription so when a
document is received, the pipeline will identify the type, and only the
orchestration looking for that type will get it.

Matt


"Craig HB" <CraigHB@discussions.microsoft.com> wrote in message
news:0CB43CC6-098D-450C-A3FC-610E5CB518FC@microsoft.com...
>I have an orchestration for processing invoices (Invoice.odx) and another
>for
> processing credit notes (CreditNote.odx). The invoices and credit notes
> are
> obviously different (ie they have different schemas), but are dumped into
> the
> same folder and the file name does not indicate which type they are. The
> root element names are <invoice> and <creditnote>.
>
> How do I make sure that the invoice.odx only collects the invoices and the
> same with the credit notes ?
>
> Thanks,
> Craig



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com