I've downloaded the xCBL 3.5 schema from their webiste.
When just including the Order.xsd schema in a BizTalk Project, I got following error when building the solution:
Node "<schema>" - This schema file has a TypeName that collides with the RootNode TypeName of one of its root nodes. Make sure that they are different.
Now, the reason for this is quite simple - when the project is compiled, a .NET class will be generated for each top level element in your schema. If you have two schemas which share the same top level element name a clash will occur.
The solution is to change the generated type name for the schema. To do so, select the schema in the Solution Explorer and press F4 to display the Properties window. Then change the Type Name property so that it is not the same as any of the top level elements.
Geen opmerkingen:
Een reactie posten