BizTalk Server General - How can I promote (not just write!) to the context of a message in an orchestration?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2004 > How can I promote (not just write!) to the context of a message in an 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 How can I promote (not just write!) to the context of a message in an orchestration?
Sam Vanhoutte

2004-12-07, 5:49 pm

Hello,

I have an orchestration, that has an output message. (after dynamic
mapping, business rules...)
This message is sent to a port that is direct bound to the message box.
I have three send ports (later on, more will come) that have a filter like
this: PurchaseOrders.zorders05_prop.ExtPODestination="CustomerA" (other two
have customer b and c)

The value for this property can not be found in the content of the message.
The value comes from a database call...
The property Schema Base is set to MessageContextPropertyBase.
In the message assignment shape of the outbound message, I have this code:

OutputDocument = IntermediateDocument;
OutputDocument(PurchaseOrders.zorders05_prop.ExtPODestination) =
databasevalue;

When the orchestration has run, I can see in the HAT that there is no
subscription found (Exception occurred when persisting state to the
database).
And if I look in the message details -> context. I can see that the
property is there, but the IsPromoted value is set to False! So, it seems
that I am writing to the context, instead of promoting the property to the
context...

How can I solve this issue?

Best regards...

Sam Vanhoutte


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com