BizTalk Server General - Parallel shape synchronization

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > September 2004 > Parallel shape synchronization





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 Parallel shape synchronization
Jenny

2004-09-02, 6:19 pm

I have an orchestration exposed as a web service that has a message passed to
it. The first shape within the orchestration is a parallel shape with two
branches. The first shape in each branch is a decision shape that queries a
promoted properties for true or false. Since both branches need to access
the same inbound message I have placed all shapes within each branch in a
scope shape. All scope shapes have synchronization set to true.

Note this orchestration works some of the time. But frequently I get a
suspended(not resumable) orchestration. The error code on the orchestration
is "Microsoft.XLANGs.Core.PersistenceException" and the error description is
"Exception occurred when persisting state to the database.".

When I look at the service details I see a message of message type
"Microsoft.BizTalk.XLANGs.BTXEngine.BTXTimerMessage".

Christof [MVP]

2004-09-03, 5:49 pm

Are you sure you have a reliabel SQL Server connection please?

Best regards,
Christof

"Jenny" <Jenny@discussions.microsoft.com> schreef in bericht
news:B2F7D499-8D95-461C-8F67-D02A1F188FD0@microsoft.com...
> I have an orchestration exposed as a web service that has a message passed

to
> it. The first shape within the orchestration is a parallel shape with two
> branches. The first shape in each branch is a decision shape that queries

a
> promoted properties for true or false. Since both branches need to access
> the same inbound message I have placed all shapes within each branch in a
> scope shape. All scope shapes have synchronization set to true.
>
> Note this orchestration works some of the time. But frequently I get a
> suspended(not resumable) orchestration. The error code on the

orchestration
> is "Microsoft.XLANGs.Core.PersistenceException" and the error description

is
> "Exception occurred when persisting state to the database.".
>
> When I look at the service details I see a message of message type
> "Microsoft.BizTalk.XLANGs.BTXEngine.BTXTimerMessage".
>



Jenny

2004-09-06, 8:46 pm

Yeah, we have a reliable connection. A little bit more information. Our
branches in our parallel shape are surrounded by scope shapes. I had just an
empty exception handler for these scopes. When I remove the exception
handlers I get a null reference exception on the decision shape.

Each branch of the parallel shape has a decision shape that checks one of a
series of boolean attributes on the schema for true or false. If it is true
then it goes on and executes an orchestration. On the schema I have
defaulted the value of these attributes to false.

I expose the orchestration via a web service and when setting the attribute
to false or not setting the attribute still results in the attribute not
being there when I save the message from HAT. I was hoping that when I
default the value of a boolean to false that I wouldn't have to set it to
false explicitly when making a web service call. But even setting it to
false explicity doesn't seem to work?

From an expression shape can I check that the attribute is not there, then
set a variable to false and use this variable within the decision shape?
What is the best way to check that the attribute is not present in the
message without reading the message into an xmldocument?

"Christof [MVP]" wrote:

> Are you sure you have a reliabel SQL Server connection please?
>
> Best regards,
> Christof
>
> "Jenny" <Jenny@discussions.microsoft.com> schreef in bericht
> news:B2F7D499-8D95-461C-8F67-D02A1F188FD0@microsoft.com...
> to
> a
> orchestration
> is
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com