PublisherAssertion pa = ScoutJaxrUddiHelper.getPubAssertionFromJAXRAssociation(association);
sarr[currLoc] = pa;
currLoc++;
// Save PublisherAssertion
PublisherAssertions bd = null;
try {
bd = (PublisherAssertions) executeOperation(sarr, "SAVE_ASSOCIATION");
}
catch (RegistryException e) {
exceptions.add(new SaveException(e));
bulk.setExceptions(exceptions);
bulk.setStatus(JAXRResponse.STATUS_FAILURE);
return bulk;
}
if(bd != null)
{
PublisherAssertion[] keyarr = bd.getPublisherAssertionArray();
for (int i = 0; keyarr != null && i < keyarr.length; i++) {
PublisherAssertion result = (PublisherAssertion) keyarr[i];
KeyedReference keyr = result.getKeyedReference();
Concept c = new ConceptImpl(getRegistryService().getBusinessLifeCycleManager());
c.setName(new InternationalStringImpl(keyr.getKeyName()));