BizTalk Server Orchestration - Corellation Question.

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2005 > Corellation Question.





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 Corellation Question.
Paul J Lay

2005-06-20, 8:49 pm

I have a number of orchestrations running just fine but a new requirement
has me stumped. The client has designed a system which makes extensive use
of web services. My orchestrations are exposed as web services and also
consume many others. The client is passing xml documents at all times but
the snag is that they are all passed as strings. So far everything works
fine but a new requirement has a delay inside an orchestration in wait for
another message. This can be done if correlation is used but I am not
certain how to do corellation with only a string. It is my understanding
that without correlation you cannot delay inside an orchestration and wait
for an another message. Isn't that correct? The current design has the
orchestration creating a guid var on the first message and passing this guid
contained within an xml document and passed as a string to the web service.
The orchestration then waits until an acknowledgement messaged containg the
correct guid is received by the orchestration. I don't know how this can be
done with biztalk correlation. If I could do correlation using only a
string, that would help. Thanks for any insight you have into this problem.

Best Regards,

Paul J. Lay


WenJun Zhang[msft]

2005-06-21, 7:55 am

Hi Paul,

If it's only a string, the correlation will not be able to work. If
you intend to use a guid to implement this, it must be added into
your xml schema as a field first. Then promote it as property schema
and add it to your correlation set. Finally the most important thing
is that the document returned from web service must contain this guid
info too.

So this is pure design issue. There are some necessary conditions to
implement correlation for sure.

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.

Scott Colestock

2005-06-21, 5:50 pm

Depending on your scenario, you can work around this with a propety schema
that uses MessageContextProperty base - and a little extra work.
See Charles' treatment of this at:
http://geekswithblogs.net/cyoung/articles/17364.aspx

When receiving messages from external sources, you can use a custom pipeline
component to add the correct context so you can "follow" the correlation.
Jon Flanders' context adder can work for that:
http://www.masteringbiztalk.com/wik...%20Samples.html

Scott Colestock
www.traceofthought.net



""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> wrote in message
news:wd0IQ6jdFHA.2304@TK2MSFTNGXA01.phx.gbl...
> Hi Paul,
>
> If it's only a string, the correlation will not be able to work. If
> you intend to use a guid to implement this, it must be added into
> your xml schema as a field first. Then promote it as property schema
> and add it to your correlation set. Finally the most important thing
> is that the document returned from web service must contain this guid
> info too.
>
> So this is pure design issue. There are some necessary conditions to
> implement correlation for sure.
>
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com