11-12-04 10:48 PM
You may be able to split the message in the receive pipeline, but this would
require an appropriate format on the incoming file.
If the schema already exists, then you would need to create two new schemas
i.e. an envelope and document schema based on the original.
If this is possible then the XmlDisassembler in the receive pipeline will
split the file into customer specific messages.
You should also promote a destination identifier from the customer message
into the message context, some field that will identify the customer.
You could then declare a send port for each customer, in each send port add
an outbound map and set a filter on the incoming message type and
destination identifier:
BTS.MessageType == IncomingMessageNamespace#rootnote
MYProperties.CustomerNumber = <customernumber>
This is a simple messaging scenario (no orchestrations)
Greg
"Bob C." <BobC@discussions.microsoft.com> wrote in message
news:5D9F99F8-6B55-4BC5-ACC1-363ADD2FB0BE@microsoft.com...
> I will be receiving an XML message that is based on an existing schema
which
> I have already imported into my project. The message will include
information
> for various customers, each of whom has a predefined file format that I
will
> need to map to. I will receive one inbound message and send several
outbound
> messages.
>
> I know that I need to create schemas and maps for each customer that I
will
> be sending messages to. My question is: At what point would I extract the
> relevant data for each customer from the inbound message? And, in general,
> what BizTalk functionality would I use to accomplish the data filtering
for
> each customer?
>
> Thanks,
> Bob Corcoran
[ Post a follow-up to this message ]
|