|
Home > Archive > BizTalk Server Orchestration > January 2005 > Receive 2 messages in an orchestration for a single process
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 |
Receive 2 messages in an orchestration for a single process
|
|
| CyberLotus 2004-12-31, 2:46 am |
| Hi All,
In my orchestration, I'll receive 2 xml files for a particular process. I
need to map it with a single destination schema and pass it.
How do I achieve this?
Response with a flowchart will greatly be appreciated.
Thanks & Regards,
Lotus
| |
| Doug Girard [MSFT] 2005-01-13, 2:50 am |
| Lotus,
Yes, you can map two documents to one output document with BizTalk Server
2004. To do this you specify two inputs to an orchestration's Transform
shape and one output. Within the map, you're free to concatenate or choose
fields between the two source documents any way you like to create one
destination document. See the article "Transform Configuration Dialog Box"
in the documentation for more information, available online here:
http://msdn.microsoft.com/library/d...-us/sdk/htm/ebi
z_prog_orch_hyvb.asp.
Now, getting two XML documents into one orchestration instance is another
story. This may be as simple as reading both documents in from an external
assembly. However, it may be more complex, say one document follows
another in through a receive port and must be routed to the already active
orchestration instance. Or even more complex yet, your scenario may allow
for either document to arrive in a nondeterministic order. Either way,
correlation is the answer.
Fortunately, thanks to Erik Leaseburg, we can do better than a flowchart.
There's a great video download describing how to use a parallel convoy
orchestration to take in two different documents (which arrive in any
order) and map them to a common output message. The video download is
called "Advanced Orchestration Concepts in BizTalk Server 2004 - Convoy
Processing", available on MSDN here:
http://msdn.microsoft.com/msdntv/ep.../20041014BizTal
kEL/manifest.xml
Hope this helps,
Doug Girard [MSFT]
Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>Thread-Topic: Receive 2 messages in an orchestration for a single process
>thread-index: AcTu+5e1xP76kpwLSr6IQgJwASweCg==
>X-WBNR-Posting-Host: 220.227.179.5
>From: "=?Utf-8?B?Q3liZXJMb3R1cw==?=" <CyberLotus@discussions.microsoft.com>
>Subject: Receive 2 messages in an orchestration for a single process
>Date: Thu, 30 Dec 2004 21:43:02 -0800
>Lines: 10
>Message-ID: <26A1D297-14EC-41BF-A0EB-FE812E042D82@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.orchestration
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.orchestration:9535
>X-Tomcat-NG: microsoft.public.biztalk.orchestration
>
>Hi All,
>
>In my orchestration, I'll receive 2 xml files for a particular process. I
>need to map it with a single destination schema and pass it.
>
>How do I achieve this?
>Response with a flowchart will greatly be appreciated.
>
>Thanks & Regards,
>Lotus
>
|
|
|
|
|