You can provide a category file to describe or populate
the values in a user-defined category of a unit test UDDI registry.
The file can be used to configure or reconfigure a unit test registry,
or it can be used to provide descriptions of values in a previously
deployed registry.
Store the hierarchy in a file using a WebSphere® editor, with one value on each
line.
You can customize the value format with the preferences
for Web Services > Private UDDI registry.
By default, each value should use the following format:
identifier#value_label#parent_reference
Where:
- identifier The unique identifier for the
value within the category. The identifier must be unique within the
category. The maximum length is 32 characters.
- value label The label for the value. The
label will appear in the user interface, and together with the other
labels will form the hierarchy of values that the publisher can select
from. The maximum length is 128 characters.
- parent reference A reference to the parent
value, using the parent value's identifier. If the current value has
no parent (that is, it is the root of the hierarchy), the parent reference
should point to the value's own identifier. The maximum length is
32 characters.
Example
This category value file:
00#Food#00
10#Fruit#00
101#Apples#10
102#Oranges#10
103#Pears#10
1031#Anjou#103
1032#Conference#103
1033#Bosc#103
104#Pomegranates#10
20#Vegetables#00
201#Carrots#20
202#Potatoes#20
203#Peas#20
204#Sprouts#20
Defines a category with the key "food", and the
following value hierarchy:
- Food (00)
- Fruit (10, added under 00)
- Apples (101, added under 10)
- Oranges (102, added under 10)
- Pears (103, added under 10)
- Anjou (1031, added under 103)
- Conference (1032, added under 103)
- Bosc (1033, added under 103)
- Pomegranates (104, added under 10)
- Vegetables (20, added under 00)
- Carrots (201, added under 20)
- Potatoes (202, added under 20)
- Peas (203, added under 20)
- Sprouts (204, added under 20)