Populating Document Templates

Use the URI Template Builder page to populate a document template for testing

To populate a document template:

  1. Access the URI Template Builder page.

    1. Select PeopleTools > Integration Broker > Service Utilities > Provider REST Template. The Provider REST Template page appears

    2. Select a service operation to test.

      The REST Tester page appears.

    3. Click the Populate Document Template link.

      The URI Template Builder page appears.

  2. From the URI Template Index drop-down list, select the URI template to populate.

    When you select an index from the list, the template to populate appears in the URI Template field under the index list. The elements shown in the URI template are those to populate in the document tree.

  3. In the tree structure for the document definition, single-click on an element name to populate.

    A Set Value page appears that displays the element name, type, field length and other information as a guide for entering a value.

  4. Enter a value for the element.

  5. Click the OK button.

    Values you enter display after the element name in the tree view. The tree shows the first 30 characters of an entered value; however, the entire value is stored.

  6. Repeat Step 2 through Step 4 for each field for which you want to define a test value.

  7. Click the Return button to return to the REST Tester page.

The URL field on the REST Tester page is populated with a fully-qualified URL that the REST consumer can use to invoke the service