Verwenden Sie den Datengraph, um den neuen Entitätstyp "ContactPerson" zu erstellen und ihm das neue Merkmal "cellPhone" zuzuordnen.
<?xml version="1.0" encoding="UTF-8"?>
<sdo:datagraph xmlns:sdo="commonj.sdo"
xmlns:wim="http://www.ibm.com/websphere/wim">
<wim:Root>
<wim:schema>
<wim:entitySchema nsURI="http://www.yourco.com/wim/yourext" entityName="ContactPerson"
parentEntityName="PersonAccount">
<wim:entityConfiguration defaultParent="cn=users,dc=yourco,dc=com" rdnProperty="uid">
<wim:metaData name="objectClasses">
<wim:values>eContactPerson</wim:values>
</wim:metaData>
<wim:metaData name="objectClassesForCreate">
<wim:values>eContactPerson</wim:values>
<wim:values>inetOrgPerson</wim:values>
</wim:metaData>
<wim:metaData name="rdnAttributes">
<wim:values>uid</wim:values>
<wim:values>sn</wim:values>
</wim:metaData>
</wim:entityConfiguration>
</wim:entitySchema>
</wim:schema>
</wim:Root>
</sdo:datagraph>
<?xml version="1.0" encoding="UTF-8"?>
<sdo:datagraph xmlns:sdo="commonj.sdo"
xmlns:wim="http://www.ibm.com/websphere/wim">
<wim:Root>
<wim:schema>
<wim:entitySchema nsURI="http://www.yourco.com/wim/yourext" entityName="ContactPerson"
parentEntityName="PersonAccount">
<wim:repositoryIds>LDAP1</wim:repositoryIds>
<wim:entityConfiguration defaultParent="cn=users,dc=yourco,dc=com" rdnProperty="uid">
<wim:metaData name="objectClasses">
<wim:values>eContactPerson</wim:values>
</wim:metaData>
<wim:metaData name="objectClassesForCreate">
<wim:values>eContactPerson</wim:values>
<wim:values>inetOrgPerson</wim:values>
</wim:metaData>
<wim:metaData name="rdnAttributes">
<wim:values>uid</wim:values>
<wim:values>sn</wim:values>
</wim:metaData>
</wim:entityConfiguration>
</wim:entitySchema>
</wim:schema>
</wim:Root>
</sdo:datagraph>
<?xml version="1.0" encoding="UTF-8"?>
<sdo:datagraph xmlns:sdo="commonj.sdo"
xmlns:wim="http://www.ibm.com/websphere/wim">
<wim:Root>
<wim:schema>
<wim:propertySchema nsURI="http://www.yourco.com/wim/yourext" dataType="String"
propertyName="cellPhone">
<wim:applicableEntityTypeNames>yourext:ContactPerson</wim:applicableEntityTypeNames>
<wim:metaData name="repositoryPropertyName">
<wim:values>cellularTelephoneNumber</wim:values>
</wim:metaData>
</wim:propertySchema>
</wim:schema>
</wim:Root>
</sdo:datagraph>
<?xml version="1.0" encoding="UTF-8"?>
<sdo:datagraph xmlns:sdo="commonj.sdo"
xmlns:wim="http://www.ibm.com/websphere/wim">
<wim:Root>
<wim:schema>
<wim:propertySchema nsURI="http://www.yourco.com/wim/yourext" dataType="String"
propertyName="cellPhone">
<wim:repositoryIds>LDAP1</wim:repositoryIds>
<wim:applicableEntityTypeNames>yourext:ContactPerson</wim:applicableEntityTypeNames>
<wim:metaData name="repositoryPropertyName">
<wim:values>cellularTelephoneNumber</wim:values>
</wim:metaData>
</wim:propertySchema>
</wim:schema>
</wim:Root>
</sdo:datagraph>
<?xml version="1.0" encoding="UTF-8"?>
<sdo:datagraph xmlns:sdo="commonj.sdo"
xmlns:wim="http://www.ibm.com/websphere/wim">
<wim:schema>
<wim:entitySchema nsURI="http://www.yourco.com/wim/yourext" entityName="ContactPerson"
parentEntityName="PersonAccount"/>
<wim:propertySchema nsURI="http://www.yourco.com/wim/yourext" dataType="String"
propertyName="cellPhone">
<wim:applicableEntityTypeNames>yourext:ContactPerson</wim:applicableEntityTypeNames>
</wim:propertySchema>
</wim:schema>
</sdo:datagraph>
<config:supportedEntityTypes defaultParent="cn=users,dc=yourco,dc=com" name="yourext:ContactPerson">
<config:rdnProperties>uid</config:rdnProperties>
</config:supportedEntityTypes>
<config:ldapEntityTypes name="yourext:ContactPerson">
<config:objectClasses>eContactPerson</config:objectClasses>
<config:objectClassesForCreate>eContactPerson</config:objectClassesForCreate>
<config:objectClassesForCreate>inetOrgPerson</config:objectClassesForCreate>
</config:ldapEntityTypes>
<config:attributes name="cellularTelephoneNumber" propertyName="yourext:cellPhone"/>