Generating Integration Object Schemas
At certain points in your integration project, you might want to generate schemas from an integration object. If you export Siebel integration objects as XML to other applications, then you might have to publish the schemas of such objects so that other applications can learn about the structure of the XML to expect.
To generate an integration object schema
In Siebel Tools, select the integration object for which you want to generate a schema.
Click Generate Schema to access the Generate XML Schema wizard.
Choose the business service to use to generate the schema:
EAI XML DTD Generator. Generates a Document Type Definition (DTD).
EAI XML XDR Generator. Generates an XML-Data Reduced (XDR) schema.
EAI XML XSD Generator. Generates an XML Schema Definition (XSD).
Choose an envelope type to use in the schema, either none or Siebel Message Envelope.
Choose a location where you want to save the resulting schema file.
(Optional) Select the Include length information for String type check box to generate simple types for all string elements in the integration object schema.
Click Finish.
The wizard generates the selected type of schema for the integration object. Use this to help you map external data directly to the integration object. The schema serves as the definition for the XML elements you can create using an external application or XML editing tool.
<!-- Shared Element List. These elements are guarenteed -->
<!-- to have the same datatype, length, precision, and scale.-->
<!ELEMENT ErrorMessage (#PCDATA) >
<!ELEMENT ErrorCode (#PCDATA) >