BizTalk Server Orchestration - Initialising correlation set from Web Multi-Message Part

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2004 > Initialising correlation set from Web Multi-Message Part





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 Initialising correlation set from Web Multi-Message Part
Kerry

2004-12-16, 3:27 am

I receive a Guid back from a web service call which indicates the job ID that
the call created. The schema for the return is listed under the Multi-part
Message Types as JobSubmit_response, over which I have no control.

Can someone tell me how I go about initialising a correlation set from here?
I need the correlation set so I can capture the job complete message coming
in later.


Matt Meleski

2004-12-16, 6:49 pm


Kerry

I wish that one option would be to programatically create a
correlation set , but I do not think this is possible as stated in the below
post:

http://www.webservertalk.com/message148795.html

I have not tried this and I'm just brainstorming, but
possibly this might work :

1) Construct a new message from your returning Guid,
instructions on how to do this are :

http://blogs.msdn.com/scottwoo/arch.../22/118529.aspx
and
http://objectsharp.com/Blogs/matt/a...11/09/1009.aspx

2) Use a loopback in your orchestration to Receive back the same message
and then Initialize the Correlation Set, on the receive shape , for the
loopback

See below blog post for doing a loopback

http://geekswithblogs.net/gwiele/ar...1/10/14737.aspx


Matt.






"Kerry" wrote:

> I receive a Guid back from a web service call which indicates the job ID that
> the call created. The schema for the return is listed under the Multi-part
> Message Types as JobSubmit_response, over which I have no control.
>
> Can someone tell me how I go about initialising a correlation set from here?
> I need the correlation set so I can capture the job complete message coming
> in later.
>
>

Ben Cuttriss

2004-12-16, 6:49 pm

Kerry,

One way that I have found of doing this (although not very pretty
admittedly) is to drop the message (a different message to that which you're
sending to the web service) which contains the GUID into a port (in my case I
go to file) and on this port I initialise the correlation set. This means
that you can then call the send web service (with your multi-part web
message) - remember that your correlation set is already initalised and wait
for the return message (with your GUID in it) following the correlation set
you initialised earlier.

HTH
Ben Cuttriss



"Matt Meleski" wrote:
[vbcol=seagreen]
>
> Kerry
>
> I wish that one option would be to programatically create a
> correlation set , but I do not think this is possible as stated in the below
> post:
>
> http://www.webservertalk.com/message148795.html
>
> I have not tried this and I'm just brainstorming, but
> possibly this might work :
>
> 1) Construct a new message from your returning Guid,
> instructions on how to do this are :
>
> http://blogs.msdn.com/scottwoo/arch.../22/118529.aspx
> and
> http://objectsharp.com/Blogs/matt/a...11/09/1009.aspx
>
> 2) Use a loopback in your orchestration to Receive back the same message
> and then Initialize the Correlation Set, on the receive shape , for the
> loopback
>
> See below blog post for doing a loopback
>
> http://geekswithblogs.net/gwiele/ar...1/10/14737.aspx
>
>
> Matt.
>
>
>
>
>
>
> "Kerry" wrote:
>
Kerry Reynolds

2004-12-16, 6:49 pm


Thanks Matt & Ben. Appreciated.

"Ben Cuttriss" wrote:
[vbcol=seagreen]
> Kerry,
>
> One way that I have found of doing this (although not very pretty
> admittedly) is to drop the message (a different message to that which you're
> sending to the web service) which contains the GUID into a port (in my case I
> go to file) and on this port I initialise the correlation set. This means
> that you can then call the send web service (with your multi-part web
> message) - remember that your correlation set is already initalised and wait
> for the return message (with your GUID in it) following the correlation set
> you initialised earlier.
>
> HTH
> Ben Cuttriss
>
>
>
> "Matt Meleski" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com