|
Home > Archive > BizTalk Server Orchestration > September 2005 > Correlation sets when using .NET objects
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 |
Correlation sets when using .NET objects
|
|
| zorrinn 2005-09-20, 10:23 am |
| I have an orchestration which I want to publish as a webservice. Like any other typical orchestration, I am not having any schemas that I do the mapping. Instead I am working (receive and send) with .NET objects that I create from a references dll.
This orchestration has a parallel convoy, with each receive shape sending and receiving from the same port but different operations. This forces me to create correlation set for the receive shapes.
I have no clue how to co-relate these receive shapes. They are totally different message types and have no connection with each other. The only reason I am doing it as a parallel convoy is becuase, I want to expose this orchestration as a web service and have only one web service(port) with multiple methods (operations), so that my client can call different methods based on a context.
Is using a parallel convoy good in such a case or is there another way. Also, for these .NET objects how can I create a correlation set?? | |
| Dick Dijkstra 2005-09-21, 7:48 am |
| Hi Zorinn,
Don't use a parallel convoy, unless you want to continue your
orchestration when all messages are received. I don't think that's what
you want.
You can use the listen shape instead; using this shape, you can have
your orchestration started when one of your messages is received. For
more information on how to use this shape, see
http://msdn.microsoft.com/library/d..._orch_sfcu.asp.
Also, you don't have to worry about correlation anymore.
HTH,
Dick Dijkstra (www.dickdijkstra.com)
This
| |
| zorrinn 2005-09-22, 9:38 am |
| Thanks Dick Dijkstra.
That did it. However, I have another issue.
I have a headerSchema.xsd which I publish as a SOAP header when I publish my orchestration. So when the asmx file is created for each of those orchestrations, the SOAP header schema is also published as class inside each of those webservices.
Thus at compile time I get an error saying that there is a duplicate definition of this SOAP header class. Is there a way out of this?? |
|
|
|
|