BizTalk
(1)
XMLDissambler
(1)
MessageType
(1)
MyNamespace
(1)
XMLDisassembler
(1)
SampleEnv
(1)
BTS
(1)
XML
(1)

Pipeline debatching and promotion

Asked By bouchaet
28-May-07 02:36 PM
Hi,

We are using a receive pipeline to de-batch a XML message. We are
using the XMLDissambler with an envelope schema for this purpose. The
messages are created successfully. However, we would like to promote
elements of the de-batched messages into the context of these
messages.

For example, the original message (batch) is :


the de-batched message are:



the property schema for promotion has a element named <msgid> which is
bounded to the attr1 in the promotion properties the schema of
SampleEnv element which means that we cannot use demotion and attr1
value is specific for each Sample element.

After few attempts, we found that the XMLDissambler does not promote
attr1 value to the msgid property in the context.

Does anybody knows how to do this into the receive pipeline? Are we
forced to use a custom pipeline component?

Thanks

b.

Pipeline debatching and promotion

Asked By Jan Eliasen
28-May-07 03:06 PM
Just to make sure - the Sample message - have you validated it against
the schema you have deployed? For instance, are you sure the target
namespace of the schema is empty? property promotion wont work unless
the XMLDisassembler component can find the right schema with
information about the properties to promote.

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: jan@eliasen.dk

Pipeline debatching and promotion

Asked By bouchaet
28-May-07 03:53 PM
Jan,

You are right and I did not expose my batch and de-batch messages
properly. So, the scenario is more like this:

The batch message is :

the de-batched message are:

200705"/>

200705"/>

And the property would be called : MyNamespace.MsgID

And in fact, the Sample messages can be routed with success to an
outbound port with a filter on BTS.MessageType. If we stop this
outbound subscription and let fail the messages with "no subscriber
found", we can have a look at the promoted properties through the
Group Hub. BTS.MessageType is promoted and MyNamespace.MsgID is not
present at all.

Pipeline debatching and promotion

Asked By Jan Eliasen
28-May-07 04:30 PM
I have now tested it here on my own BizTalk 2006, and to my surprise,
I couldn't get it to work. Probably, it doesn't.

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: jan@eliasen.dk
Post Question To EggHeadCafe