.getResourceID(), capabilityData.getUser(), capabilityData.getActorType(),
capabilityData.getAction());
GetCapabilityResponseDocument responseDocument = GetCapabilityResponseDocument.Factory
.newInstance();
GetCapabilityResponse capabilityResponse = responseDocument.addNewGetCapabilityResponse();
if (capabilities != null) {
capabilityResponse.setTokenArray(capabilities);
}
log.info("Response Sent " + responseDocument.xmlText());
return responseDocument;
}