Generating an XML Schema (XSD File)
- Procedure
- Select the project whose schema you want to generate.
- 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 BusinessEvents Studio Explorer.
- In the Schemas Folder field and select the folder where you want to put the schema files.
- Select the
Override TIBCO BusinessEvents Namespace check box to specify a different namespace.
If you do not select a different namespace, an informational message is displayed. 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 TIBCO BusinessEvents namespace is used. TIBCO 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 TIBCO BusinessEvents namespace results in a namespace conflict. In this case, you must provide a namespace.
- 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.
- 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.