public CheckConfirmationResponse checkConfirmation(
CheckConfirmation checkConfirmationRequest) throws FatalFault
{
log.info("Executing checkConfirmation operation");
CheckConfirmationResponse confirmationResponse = new CheckConfirmationResponse();
Element docElement = (Element) checkConfirmationRequest.getAny();
ServiceResponseInfo sb = new ServiceResponseInfo();
String clientsideID = null;
String mailBoxURI = null;
String recordURI = null;
String messageID = null;
Element confirmationDocumentElement = null;
HashMap<String, String> attributesMap = SSAFUtil
.getMessageAttributes(docElement);
clientsideID = attributesMap.get("clientsideID");
mailBoxURI = attributesMap.get("dropoffMailBoxURI");
recordURI = attributesMap.get("recordURI");
messageID = attributesMap.get("messageID");
if (StringUtils.isNotBlank(messageID)
&& StringUtils.isNotBlank(mailBoxURI))
{
confirmationDocumentElement = Drop_OffUtil
.returnConfirmationDocument(messageID,
mailBoxes_root + mailBoxURI, docElement, sb)
.getDocumentElement();
if (confirmationDocumentElement != null)
{
confirmationResponse.setAny(confirmationDocumentElement);
return confirmationResponse;
}
}
else
{