Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Program model > XML schema files


The wimschema.xsd file

The wimschema.xsd file contains the XML Schema definition of the property and entity schema.

These schema definitions are used when creating new property types and entity types at run time. For example, the propertySchema data object is used for specifying the information needed for creating a new property type like propertyName, dataType, or applicableEntityTypeNames. The data object entitySchema contains information like entityName, parentEntityName, and propertyNames, which are needed when creating a new entity type.

The wimschema.xsd file is also used for defining the XML schema for the wimxmlextension.xml file. This file is used by virtual member manager to store new property and entity types created at run time.

The following shows an example of the structure of the file:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:ecore="//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/  ://www.eclipse.org/emf/2002/Ecore"
            xmlns="//www.ibm.com/websphere/wim"
            xmlns:xsd="//publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/  ://www.w3.org/2001/XMLSchema"
            ecore:nsPrefix="wim"
            ecore:package="com.ibm.websphere.wim.model"
            targetNamespace="//www.ibm.com/websphere/wim"
            version="1.0" elementFormDefault="qualified"
            attributeFormDefault="unqualified">
<xsd:element name="schema" type="SchemaType"/>

<xsd:complexType name="SchemaType">
<xsd:sequence>
<xsd:element name="entitySchema" type="EntitySchemaType"
                    minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="propertySchema" type="PropertySchemaType"
                    minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="extensionPropertySchema" type="PropertySchemaType"
                    minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="propertyDataTypes" type="xsd:token"
                    minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

. . .

</xsd:schema> 

For more information about using the propertySchema and extensionPropertySchema data objects, see the section, Extend property schema in the topic, Program prerequisites. Also read about Configure a property extension repository in a federated repository in the WebSphere Application Server information center.

Parent topic: XML schema files



+

Search Tips   |   Advanced Search