throws XregistryException {
log.info("Request: " + capabilityDocument.xmlText());
AddCapability addCapability = capabilityDocument.getAddCapability();
registryImpl.addCapability(findUserDN(), addCapability.getResourceID(), addCapability
.getActor(), addCapability.getIsActorAUser(), addCapability.getAction());
AddCapabilityResponseDocument responseDocument = AddCapabilityResponseDocument.Factory
.newInstance();
responseDocument.addNewAddCapabilityResponse();
log.info("Response: " + responseDocument.xmlText());
return responseDocument;
}