DL
2004-08-26 15:49:35 UTC
I currently have two different versions of the same orchestrations that I am
trying to deploy side by side. The solution contains one assembly with the
orchestration (workflow.dll) and one with the message schemas (schemas.dll).
So, I have the following assemblies deployed:
workflow.dll, version=2.2.0.0
schemas.dll, version=2.2.0.0
workflow.dll, version=3.2.0.0
schemas.dll, version=3.2.0.0
Since the schemas specify the same namespaces, I have follow the advice of
Christof and others in these newsgroups and created a custom receive pipline
so that the 2.2.0.0 orchestration specifies only the 2.2.0.0 schemas and the
3.2.0.0 orchestration only specifies the 3.2.0.0 schemas. When I send an
activating message to the version 2.2.0.0 receive location, an orchestration
instance is created and it works fine. However, when I send an activating
message to the 3.2.0.0 receive location, I get the following error:
Failed to initialize the correlation property name: ReviewID namespace:
http://<...>.PropertySchema from message: InitiateWorkflowInstance.
Received unexpected message type '<...>.InitiateWorkflow, <...>,
Version=2.2.0.0, Culture=neutral, PublicKeyToken=d4608ffbaa057232' does not
match expected type '<...>.InitiateWorkflow, <...>, Version=3.2.0.0,
Culture=neutral, PublicKeyToken=d4608ffbaa057232'.
I thought that the custom pipeline would cure this, but now I am wondering
if this sort of side-by-side deployment of schemas is possible. Any help
would be appreciated.
Dan
trying to deploy side by side. The solution contains one assembly with the
orchestration (workflow.dll) and one with the message schemas (schemas.dll).
So, I have the following assemblies deployed:
workflow.dll, version=2.2.0.0
schemas.dll, version=2.2.0.0
workflow.dll, version=3.2.0.0
schemas.dll, version=3.2.0.0
Since the schemas specify the same namespaces, I have follow the advice of
Christof and others in these newsgroups and created a custom receive pipline
so that the 2.2.0.0 orchestration specifies only the 2.2.0.0 schemas and the
3.2.0.0 orchestration only specifies the 3.2.0.0 schemas. When I send an
activating message to the version 2.2.0.0 receive location, an orchestration
instance is created and it works fine. However, when I send an activating
message to the 3.2.0.0 receive location, I get the following error:
Failed to initialize the correlation property name: ReviewID namespace:
http://<...>.PropertySchema from message: InitiateWorkflowInstance.
Received unexpected message type '<...>.InitiateWorkflow, <...>,
Version=2.2.0.0, Culture=neutral, PublicKeyToken=d4608ffbaa057232' does not
match expected type '<...>.InitiateWorkflow, <...>, Version=3.2.0.0,
Culture=neutral, PublicKeyToken=d4608ffbaa057232'.
I thought that the custom pipeline would cure this, but now I am wondering
if this sort of side-by-side deployment of schemas is possible. Any help
would be appreciated.
Dan