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 wimdatagraph.xsd file

The wimdatagraph.xsd file contains the XML Schema definitions of the data objects that are not defined in the wimdomain.xsd file.

These data objects include the Root data object, the Context data object and various Control data objects. The Root data object acts as a root in the virtual member manager data graph. All other data objects are under this Root data object. The Context data object is used to specify context information for each API call.

The Control data objects are used for specifying both request information in the API input and result information in the API output. For example, PropertyControl is used in input data graph for specifying the names of properties to return for a get API call. The PageResponseControl is used in output data graph for returning cookie and size information back to caller from a search API call.

The following example shows the structure of the file. Note that it includes the wimdomain.xsd and the wimschema.xsd files. The first section defines the Root data object. The second section defines control data objects. The last section defines the Context data object.

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

<xsd:complexType name="RootType">

<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0"
              name="contexts" type="Context"/>
<xsd:element maxOccurs="unbounded" minOccurs="0"
              name="entities" type="Entity"/>
<xsd:element maxOccurs="unbounded" minOccurs="0"
              name="controls" type="Control"/>
<xsd:element ref="schema" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attribute name="validated" type="xsd:boolean" default="false"/>
</xsd:complexType>

<!-- Super type of all controls. Controls are used to specify request information. -->
<xsd:complexType name="Control" abstract="true">
<xsd:sequence/>
</xsd:complexType> >
</xsd:schema> 

Parent topic: XML schema files



+

Search Tips   |   Advanced Search