logo

Pipeline debatching and promotion

bouchaet posted on Monday, May 28, 2007 2: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.
reply


Pipeline debatching and promotion

Jan Eliasen posted on Monday, May 28, 2007 3: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
reply

Pipeline debatching and promotion

bouchaet posted on Monday, May 28, 2007 3: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.
reply

Pipeline debatching and promotion

Jan Eliasen posted on Monday, May 28, 2007 4: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
reply

 

Didn't Find The Answer You Were Looking For?

View BizTalk Posts   Ask A New Question

EggHeadCafe has experts online right now that may know the answer to your question.  We pay them a bonus for answering as many questions as they can.  So, why not help them and yourself by becoming a member (free) and ask them your question right now?
Ask Question In Live Forum

If you have an OpenID and do not want to become a member of the EggHeadCafe forum, you can also sign on to Chat Chaos and post your question to our real time Silverlight chat application.
Ask Question In Chat Chaos

Previous BizTalk conversation.

BizTalk    BizTalk Orchestration   






  $1000 Contest    [)ia6l0 iii - $228  |  Jonathan VH - $161  |  Huggy Bear - $135  |  F Cali - $95  |  egg egg - $94  |  more Advertise  |  Privacy  |   (c) 2010