Correlation problem
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 > Correlation problem




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

    Correlation problem  
Jay


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


 
07-27-04 10:53 PM

Hi,

I have an orchestration that receives an XML message, transforms it into a f
lat file and sends it to an RS6000 system.
The original XML message can be either a "Purchase Order" or a "Purchase Ord
er Request".
The structure of the message is for both types identical and when sending th
e message to the RS6000 system I do not need to make a difference between th
e two types.

The RS6000 system then sends me a confirmation. This can be either a "Purcha
se Order Confirmation" or a "Purchase Order Request Confirmation".
At this point I have two receive locations and two different schemas.

In the orchestration I use correlation to complete the flow.

The problem is that from a functional point of view it is possible to receiv
e AND a "Purchase Order Confirmation" AND a "Purchase Order Request Confirma
tion".
I do not no in advance if I will receive one or two responses.
If I receive one response I do not know upfront which one I will get.

I have no confirmation yet about the response time difference between the tw
o responses but I suppose a time out of 10 minutes would do.

Can anyone help me with this?

Thanks a million.

J.





[ Post a follow-up to this message ]



    Re: Correlation problem  
Matt Milner


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


 
07-27-04 10:53 PM

After you send and are ready to receive do the following:

Add a parallel shape with two branches.
In the first branch, add a listen shape and put a receive shape in the first
branch of the listen for your PO confirmation.  In the other side of the
listen shape, put a delay in with the your timeout.
In the other branch of the parallel shape, put another listen shape.  In one
side of the listen, put your receive for the PO Request Confirmation and in
the other side put a delay shape with your timeout.

this gives you two threads listening for the two messages you want to
receive. On each thread you can either receive or timeout.

will that work for you?

Matt


"Jay" <Jay@discussions.microsoft.com> wrote in message
news:41976E7D-7454-4173-B7C0-8FEF1B275722@microsoft.com...
> Hi,
>
> I have an orchestration that receives an XML message, transforms it into a
flat file and sends it to an RS6000 system.
> The original XML message can be either a "Purchase Order" or a "Purchase
Order Request".
> The structure of the message is for both types identical and when sending
the message to the RS6000 system I do not need to make a difference between
the two types.
>
> The RS6000 system then sends me a confirmation. This can be either a
"Purchase Order Confirmation" or a "Purchase Order Request Confirmation".
> At this point I have two receive locations and two different schemas.
>
> In the orchestration I use correlation to complete the flow.
>
> The problem is that from a functional point of view it is possible to
receive AND a "Purchase Order Confirmation" AND a "Purchase Order Request
Confirmation".
> I do not no in advance if I will receive one or two responses.
> If I receive one response I do not know upfront which one I will get.
>
> I have no confirmation yet about the response time difference between the
two responses but I suppose a time out of 10 minutes would do.
>
> Can anyone help me with this?
>
> Thanks a million.
>
> J.







[ Post a follow-up to this message ]



    Sponsored Links  




 





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