Chapter 6 Building an Executable BPM: Working with Service Description Objects


Attaching an XML model to an XSD document

An XSD document contains a data schema that can be visualized in an XML model. When you import a WSDL file:

When you create a new XSD document in a service provider, you can associate an XML model with this document. The XML model allows you to easily design a schema using a graphical environment; it generates the corresponding schema code that will appear in the Schema tab of the XSD document.

Steps To attach an XML model to an XSD document:

  1. In the General tab of the XSD document, select an XML model among the XML models open in the workspace in the Schema Model list.

    or

    Click the New tool beside the Schema model box. The property sheet of a new XML model is displayed. Type a name and a code for the new XML model and click OK.

    The name of the XML model is displayed in the Schema model box. This XML model is also open in the workspace.
  2. You can start designing the data schema in the XML model.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.