RelationshipDeletedNotificationDocument relationshipDeletedDoc = RelationshipDeletedNotificationDocument.Factory.newInstance();
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.RelationshipDeletedNotificationDocument.RelationshipDeletedNotification relationshipDeletedNotification = relationshipDeletedDoc.addNewRelationshipDeletedNotification();
relationshipDeletedNotification.setRelationship(((RelationshipDocumentImpl)copiedRelationship).getRelationship());
xme.setAny(new Object[]{relationshipDeletedDoc});
//publish!
deletedTopic.publish(xme.getXmlObject());
}
catch (Exception e)
{
LOG.debug("Unable to throw RelationshipDeleted notification. Cause:" + e.getLocalizedMessage(), e);
}