Re-use schemas within BizTalk solution using XSD Import (Importing types from another schema/namespace)?

510 Views Asked by At

I have crated schema project and use consume adapter service wizard to generate schema for SQL DB table to perform insert operation. (Filename Prefix : Batch_)

enter image description here

How to overcome with issue when I tried to reuse schemas and build new schemas (Common) out of existing types ?

enter image description here

So, when I check Request schema node and try to find data structure type I got nothing ?

enter image description here

1

There are 1 best solutions below

0
On

It's not totally clear what you're trying to do. But...it probably doesn't matter.

While technically possible, you really shouldn't be trying to craft your own schemas, just use what the Wizard emits directly.

With one exception, the common types, those you can consolidate because the xsd is the same for all generated Schemas.

More here: BizTalk Server: Reducing and Consolidating WCF Serialization Schema Types