Strange behaviour with decide shape / XPath expression
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Strange behaviour with decide shape / XPath expression




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Strange behaviour with decide shape / XPath expression  
Erik ter Beeke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-07-06 12:23 PM

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 th
e
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><Po
rtfolios><Portfolio><Portfolio>PORTFOLIOCODE</Portfolio></Portfolio></Portfo
lios></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 an
d
restarting the BizTalk service a couple of times.
Reproducing this steps in another environment didn't solve the problem thoug
h.

Has anyone encountered this problem before and does anyone have a clue as to
how to solve it?





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register