Using validation maps

WebSphere Partner Gateway uses validation maps to validate the structure of certain documents. If you want to associate a validation map with a document, first make sure the validation map is available to WebSphere Partner Gateway, as described in Adding validation maps.

Adding validation maps

An action can have an associated validation map to ensure that the destination participant or back-end system can parse the document. Note that a validation map only validates the structure of the document. It does not validate the contents of the message.

Note: Once you associate a validation map with a document flow definition, you cannot disassociate them.

To add a new validation map to the hub, use the following procedure.

  1. Save the validation map file to the hub or to a location from which WebSphere Partner Gateway can read files.
  2. Click Hub Admin > Hub Configuration > Maps > Validation Maps.
  3. Click Create.
  4. Type a description of the validation map.
  5. Navigate to the schema file you want to use to validate documents and click Open.
  6. Click Save.

Associating maps with document flow definitions

To associate a validation map with a document flow definition, use the following procedure.

  1. Click Hub Admin > Hub Configuration > Maps > Validation Maps.
  2. Click the View details icon next to the validation map you want to associate with the document flow definition.
  3. Click the Expand icon next to a package to individually expand to the appropriate level (for example, Action for a RosettaNet document).
  4. Select the document flow definition you want associated with the validation map.
  5. Click Save.

Copyright IBM Corp. 2003, 2005