This chapter provides an overview of the Schema Tester utility, prerequisites for using the utility and discusses how to:
Access the Schema Tester utility.
Validate messages against message schemas during development.
The Schema Tester Utility enables you to validate rowset-based and nonrowset-based messages against message schemas during development to determine if messages adhere to defined message schemas.
Note. Use the Message Schema Builder to validate messages against message schemas at runtime.
To use the Schema Tester Utility the following items must exist:
A message schema against which to test a message.
You can use the Message Schema Builder to build message schemas for rowset-based messages and to import message schemas for nonrowset-based messages.
A message in XML format to test against a schema.
To access the Schema Tester utility, select PeopleTools, Integration Broker, Utilities, Schema Tester.
To validate a message against a message schema:
Select PeopleTools, Integration Broker, Utilities, Schema Tester.
The Schema Tester populates the Version field with the default version of the message definition that is defined in the application database.
To select a message version other than the default, in the Version field, click the Lookup button and select a message version.
Load an XML message to test into the Schema Tester.
To load a message from a file, click the Upload XML from File button and select the message. The message displays in the Input XML text box.
In the Input XML text box, manually enter the message data.
Click the Validate button to validate the message against the message schema defined for the message definition.
The results of the validation display in the results area of the page.