{
// only allowed to specify a maximum of 5 names (implementation
// dependent). This value is configurable in jUDDI.
int maxNames = Config.getMaxNameElementsAllowed();
if ((nameVector != null) && (nameVector.size() > maxNames))
throw new TooManyOptionsException("max_names= "+maxNames);
// names can not exceed the maximum character length specified by the
// UDDI specification (v2.0 specifies a max character length of 255). This
// value is configurable in jUDDI.
int maxNameLength = Config.getMaxNameLengthAllowed();