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




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

    Initialising correlation set from Web Multi-Message Part  
Kerry


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


 
12-16-04 08:27 AM

I receive a Guid back from a web service call which indicates the job ID tha
t
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.







[ Post a follow-up to this message ]



    RE: Initialising correlation set from Web Multi-Message Part  
Matt Meleski


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


 
12-16-04 11: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 t
hat
> 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 her
e?
> I need the correlation set so I can capture the job complete message comin
g
> in later.
>
>





[ Post a follow-up to this message ]



    RE: Initialising correlation set from Web Multi-Message Part  
Ben Cuttriss


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


 
12-16-04 11: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 bel
ow
> 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:
> 





[ Post a follow-up to this message ]



    RE: Initialising correlation set from Web Multi-Message Part  
Kerry Reynolds


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


 
12-16-04 11: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 cas
e 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 wa
it
> for the return message (with your GUID in it) following the correlation se
t
> you initialised earlier.
>
> HTH
> Ben Cuttriss
>
>
>
> "Matt Meleski" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:19 PM.      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