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.
- Save the validation map file to the hub or to a location from
which WebSphere Partner Gateway can read files.
- Click Hub Admin > Hub Configuration > Maps > Validation Maps.
- Click Create.
- Type a description of the validation map.
- Navigate to the schema file you want to use to validate documents
and click Open.
- Click Save.
Associating maps with document flow definitions
To associate
a validation map with a document flow definition, use the following procedure.
- Click Hub Admin > Hub Configuration > Maps > Validation Maps.
- Click the View details icon next to the
validation map you want to associate with the document flow definition.
- Click the Expand icon next to a package
to individually expand to the appropriate level (for example, Action for
a RosettaNet document).
- Select the document flow definition you want associated with
the validation map.
- Click Save.
