Project Tasks : Exporting (Generating) Concept and Event Schema (XSD) Files

Exporting (Generating) Concept and Event Schema (XSD) Files
The Generate Schema utility lets you export concepts and events to XML Schema Definition (XSD) files, one per entity, in a specified location. You can generate schema for all concepts, all events, or both. (You can’t generate schema for one selected entity type.) The files use the same folder structure as the project from which they are exported. In addition, _BaseConcept.xsd and _BaseEvent.xsd are generated in the root of the selected directory.
XML schemas are used for interoperability between BusinessEvents and third party tools or SOA platforms that use well-defined XML for message communication, transformation, and validation.
In the XSD files, concepts are represented as follows:
To Generate an XML Schema (XSD File)
1.
2.
From the File menu select Export. In the Export wizard, expand TIBCO BusinessEvents and select Generate Schema.
You can also reach this utility from the option (right-click) menu anywhere in Studio Explorer.
3.
4.
Select the Override BusinessEvents Namespace checkbox to specify a different namespace.
If you do not select a different namespace, an informational message displays. Click Yes to continue or No to return to the dialog and provide a namespace.
Provide a different namespace to avoid conflicts with the source concepts and events. If you do not provide a namespace, the default BusinessEvents namespace is used. (BusinessEvents events and concepts have a hidden schema.) If the source entities and generated schema files are in the same folders, use of the default BusinessEvents namespace results in a namespace conflict. In this case, you must provide a namespace.
5.
In the Select Resources panel, select Concepts or Events or both. Schemas for all concepts or all events in the project (or both) are generated accordingly.
6.
Click Finish.
The XSD files for the selected resources (all concepts, all events, or both) are generated in subdirectories of the selected directory. Subdirectory names match the project folders. The _BaseConcept.xsd and _BaseEvent.xsd files are generated in the root of the selected directory.