IBM Support

WebSphere IMS Enablement Feature (Toolkit): Enabling XDMS Schema Validation

Question & Answer


Question

The IBM XDMS cannot redistribute the OMA XML schemas at this time. Thus, schema validation has been disabled for each IBM XDMS Enterprise Application. If you wish to enable schema validation, you will need to download the OMA XML schemas and update the IBM XDMS Enterprise Applications.

Answer

Download the OMA XDM schema files as follows:

Download from:
http://www.openmobilealliance.org
(Note: OMA login credentials are required.)

members/release_program/xdm_v2_0.html

Schema Name
File name
OMA_COMMON_POL OMA-SUP-XSD_xdm_CommonPolicy-V1_0_1-20061128-A.txt
OMA_APP_USAGEOMA-SUP-XSD_xdm_rsrclst_appusage-V1_0-20060612-A.txt
OMA_URI_USAGEOMA-SUP-XSD_xdm_rsrclst_uriusage-V1_0-20060612-A.txt
OMA_SEARCHOMA-SUP-XSD_xdm_search-V1_0-20070724-C.txt
OMA_XCAP_DIROMA-SUP-XSD_xdm_xcapDirectory-V1_0_1-20061128-A.txt
OMA_XCAP_ERROMA-SUP-XSD_xdm_xcapError-V1_0-20060612-A.txt

Download the OMA Presence Rules schema files as follows:

Download from: http://www.openmobilealliance.org
(Note: OMA login credentials are required.)

members/release_program/Presence_simple_v1_0_1.html

Schema Name
File name
OMA_PRESRULES OMA-SUP-XSD_prs_presrules-V1_0-20060725-A.txt

The following procedure assumes that you have installed the IBM WebSphere Telecom Toolkit and have imported the sample XDMS Enterprise Application projects for modification. See the Toolkit help section under IMS Enablement feature -> Developing custom IBM XDMS applications -> Starting a custom XDMS project.

Enable schema validation for Shared List XDMS:
1. Import the Shared List XDMS Sample project. See the Toolkit Help.
2. Open the SharedListXdms web project.
3. Expand the folder for /WebContent/WEB-INF/schema/.
4. Download all schema files from Table 1 (OMA XDM schema files) and copy them into /WebContent/WEB-INF/schema/.
5. Rename the extensions from *.txt to *.xsd.
6. Expand the folder for /WebContent/WEB-INF/auids/.
7. For each <auid>.properties file, edit the file and change the enableSchemaValidation default property value from false to true.
Example: enableSchemaValidation=true
8. Export the SharedListXdmsEAR as an Enterprise Application EAR file.
9. Uninstall the existing Shared List application from your deployed WebSphere Application Server.
10. Update the Resource Environment Providers to set enableSchemaValidation=true. You can do either of the following:
  • Remove all Resource Environment Providers for the SharedListCluster scope. When the new EAR is deployed, it will re-create the Resource Environment Providers with the default value of enableSchemaValidation=true.
  • Leave the existing Resource Environment Providers for the SharedListCluster. However, you will need to update for each AUID Resource Environment Providers and set enableSchemaValidation=true.
11. Deploy the new Shared List application to your WebSphere Application Server. Follow the installation instructions found in the IBM XDMS Information Center.

Enable schema validation for Presence Rules XDMS:
1. Import the Presence Rules XDMS Sample project. See the Toolkit Help.
2. Open the PresenceRulesXdms web project.
3. Expand the folder for /WebContent/WEB-INF/schema/.
4. Download all schema files from Table 1 (OMA XDM schema files) and from Table 2 (OMA Presence Rules schema files) and copy them into /WebContent/WEB-INF/schema/.
5. Rename the extensions from *.txt to *.xsd.
6. Expand the folder for /WebContent/WEB-INF/auids/.
7. For each <auid>.properties file, edit the file and change the enableSchemaValidation default property value from false to true.
Example: enableSchemaValidation=true
8. Export the PresenceRulesXdmsEAR as an Enterprise Application EAR file.
9. Uninstall the existing Presence Rules application from your deployed WebSphere Application Server.
10. Update the Resource Environment Providers to set enableSchemaValidation=true. You can do either of the following:
  • Remove all Resource Environment Providers for the PresenceRulesCluster scope. When the new EAR is deployed, it will re-create the Resource Environment Providers with the default value of enableSchemaValidation=true.
  • Leave the existing Resource Environment Providers for the PresenceRulesCluster. However, you will need to update for each AUID Resource Environment Providers and set enableSchemaValidation=true.
11. Deploy the new Presence Rules application to your WebSphere Application Server. Follow the installation instructions found in the IBM XDMS Information Center.

[{"Product":{"code":"SSWJLZ","label":"WebSphere XML Document Management Server"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"6.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 June 2018

UID

swg21286740