CategoryBag catBag = service.getCategoryBag();
if ((catBag != null) && (catBag.getKeyedReferenceVector() != null))
ServiceCategoryTable.insert(serviceKey,catBag.getKeyedReferenceVector(),connection);
// extract the binding template objects
BindingTemplates bindings = service.getBindingTemplates();
if (bindings == null)
return; // no binding templates were present
// convert the binding templates to a vector of templates
Vector bindingList = bindings.getBindingTemplateVector();
if (bindingList == null)
return; // a binding template vector wasn't found
// aquire a reference to the shared UUIDGen instance
UUIDGen uuidgen = UUIDGenFactory.getUUIDGen();