Dipen Patel
Dipen Patel

Reputation: 320

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

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

Upvotes: 0

Views: 547

Answers (1)

DTRT
DTRT

Reputation: 11040

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

Upvotes: 0

Related Questions