Freigeben über


When two BizTalk applications use the same SWIFT schema, both of them stop working

Summary:
===================
When two BizTalk applications use the same SWIFT schema, both of them stop working.

 

ENVIRONMENT
===========
BTS 2006 R2
Microsoft BizTalk Accelerator for SWIFT 3.0

CAUSE
======================
The behaviour described  is expected, because the same schema is deployed twice.
When the same schema is deployed twice then BizTalk run time will not be able to identify which schema to be used.

Resolution:
=============
The resolution here is to create a common assembly for the schema being used in more than one application and then adding a reference to that assembly in all the projects where we want to use that schema.

So follow the below steps to resolve it:
1. Create a dedicated assembly that will contain the shared schema(The schema being used in two or more applications).
2. GACed this dedicated assembly.
3. Modify any project containing the shared schema.
 a. Remove the schema from the project
 b. Add a reference to the assembly created in step #1
4. Deploy all the projects affected