BizTalk Server Orchestration - Multiple receive ports using the same orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2004 > Multiple receive ports using the same orchestration





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 Multiple receive ports using the same orchestration
morgana@nospam.amerinetcentral.org

2004-09-22, 9:56 pm

Is there a way to bind multiple receive ports to a single
orchestration.

I have 4 different data sources that can use an identical
orchestration. I can do this by putting the map in the receive port,
and then all data sources will map to the same message format. Using
the Biztalk manager interface in VS.Net, I cannot find a way to do
this. It will only let me bind 1 receive port to an orchestration.

Does anybody know how to do this?


Thanks

Silly_King

2004-09-22, 9:56 pm

You could create "host" orchestrations that perform mapping from the 4 data
sources to the required message format and then call or start the original
orchestration...

"morgana@nospam.amerinetcentral.org" wrote:

> Is there a way to bind multiple receive ports to a single
> orchestration.
>
> I have 4 different data sources that can use an identical
> orchestration. I can do this by putting the map in the receive port,
> and then all data sources will map to the same message format. Using
> the Biztalk manager interface in VS.Net, I cannot find a way to do
> this. It will only let me bind 1 receive port to an orchestration.
>
> Does anybody know how to do this?
>
>
> Thanks
>
>

Alan Smith

2004-09-22, 9:56 pm

Hi,

I have solved this one by adding four receive locations to a single receive
port, then adding the maps to the receive port. BizTalk will select the maps
based on the schema of the message that is received and map the message to
your internal schema.

Regards,

Alan


"morgana@nospam.amerinetcentral.org" wrote:

> Is there a way to bind multiple receive ports to a single
> orchestration.
>
> I have 4 different data sources that can use an identical
> orchestration. I can do this by putting the map in the receive port,
> and then all data sources will map to the same message format. Using
> the Biztalk manager interface in VS.Net, I cannot find a way to do
> this. It will only let me bind 1 receive port to an orchestration.
>
> Does anybody know how to do this?
>
>
> Thanks
>
>

morgana@nospam.amerinetcentral.org

2004-09-22, 9:56 pm

Hi Alan

That looks like it will work, with one exception. Out of my 4 data
sources, 2 of them are flat files that are very different, these will
be fine. The problem is my other 2 sources are EDI 867 documents from
2 different partners. The source format and the destination formats
are the same, the big difference is the mapping. The Biztalk explorer
will only let me set one of the EDI maps. My guess is biztalk is
looking at the format only, and I guess that does make sence, the
trading partner ID's would not be determined yet.

Are you using any EDI in your setup?

Thanks

On Wed, 22 Sep 2004 01:09:04 -0700, "Alan Smith"
<AlanSmith@discussions.microsoft.com> wrote:
[vbcol=seagreen]
>Hi,
>
>I have solved this one by adding four receive locations to a single receive
>port, then adding the maps to the receive port. BizTalk will select the maps
>based on the schema of the message that is received and map the message to
>your internal schema.
>
>Regards,
>
>Alan
>
>
>"morgana@nospam.amerinetcentral.org" wrote:
>

Greg Forsythe

2004-09-22, 9:56 pm

The MessageBox uses a pub/sub mechanism. Binding a port basically constrains
the orchestration by subscribing to only one publisher (the receive port).
The effective subscription is MessageType="message#node" and
BTS.ReceivePortName = "ReceivePort1"

You need to declare the incoming port in the orchestration as "Direct"
rather than "Specify Later".
The effective subscription now becomes MessageType="message#node" and this
orchestration will process all messages of this type that are placed in the
MessageBox from any source

If this is a bit too open you can specify addition Filters on the Receive
Shape in the orchestration e.g.
BTS.ReceivePortName = ReceivePort1 OR BTS.ReceivePortName = ReceivePort2 OR
BTS.ReceivePortName = ReceivePort3

Check out the Biztalk Core Engine blog article on Data Normalisation at:
http://blogs.msdn.com/biztalk_core_.../13/228633.aspx

Greg

<morgana@nospam.amerinetcentral.org> wrote in message
news:vei3l0tn3o2b32hg3ee0ohpav8t5pcbns8@
4ax.com...
> Hi Alan
>
> That looks like it will work, with one exception. Out of my 4 data
> sources, 2 of them are flat files that are very different, these will
> be fine. The problem is my other 2 sources are EDI 867 documents from
> 2 different partners. The source format and the destination formats
> are the same, the big difference is the mapping. The Biztalk explorer
> will only let me set one of the EDI maps. My guess is biztalk is
> looking at the format only, and I guess that does make sence, the
> trading partner ID's would not be determined yet.
>
> Are you using any EDI in your setup?
>
> Thanks
>
> On Wed, 22 Sep 2004 01:09:04 -0700, "Alan Smith"
> <AlanSmith@discussions.microsoft.com> wrote:
>
receive[vbcol=seagreen]
maps[vbcol=seagreen]
to[vbcol=seagreen]
>



Matt Milner

2004-09-23, 5:51 pm

You can take a look at the pipeline sample in the SDK which does mapping.
This would allow you to specify a custom pipeline for your receive locations
and tell them specifically which map to use.

Matt

<morgana@nospam.amerinetcentral.org> wrote in message
news:vei3l0tn3o2b32hg3ee0ohpav8t5pcbns8@
4ax.com...
> Hi Alan
>
> That looks like it will work, with one exception. Out of my 4 data
> sources, 2 of them are flat files that are very different, these will
> be fine. The problem is my other 2 sources are EDI 867 documents from
> 2 different partners. The source format and the destination formats
> are the same, the big difference is the mapping. The Biztalk explorer
> will only let me set one of the EDI maps. My guess is biztalk is
> looking at the format only, and I guess that does make sence, the
> trading partner ID's would not be determined yet.
>
> Are you using any EDI in your setup?
>
> Thanks
>
> On Wed, 22 Sep 2004 01:09:04 -0700, "Alan Smith"
> <AlanSmith@discussions.microsoft.com> wrote:
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com