| Erik ter Beeke 2006-06-07, 7:23 am |
| Hello all,
I have a strange problem with a decide shape within my orchestration. From
debugging my orchestration I have found that the decide shape sometimes goes
into the TRUE branche and sometimes into the FALSE branch with apparently the
exact same message.
The decide shape expression is as follows:
System.Convert.ToInt32(xpath(ValidationFilterReceived,
"count(/*[local-name()='Validation' and
namespace-uri()='http://tempuri.org']/*[local-name()='Portfolios' and
namespace-uri()='']/*[local-name()='Portfolio' and namespace-uri()=''])")) > 0
I saved the ValidationFilterReceived message on which this expression is
evaluated and the message always looks like this:
<ns0:Validation
xmlns:ns0="http://tempuri.org"><BDate>060101</BDate><EDate>060131</EDate><Portfolios><Portfolio><Portfolio>PORTFOLIOCODE</Portfolio></Portfolio></Portfolios></ns0:Validation>
Although the message always seems to be the exact same, the decide shape
goes into the TRUE branch some of the times and into the FALSE branch at
other times.
In one particular environment this problem seems to have been solved
"automatically" after terminating all running instances / active services and
restarting the BizTalk service a couple of times.
Reproducing this steps in another environment didn't solve the problem though.
Has anyone encountered this problem before and does anyone have a clue as to
how to solve it?
|