Package org.wijiscommons.ssaf.drop_off.wrapper

Examples of org.wijiscommons.ssaf.drop_off.wrapper.CheckConfirmationResponse


  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
    {
View Full Code Here

TOP

Related Classes of org.wijiscommons.ssaf.drop_off.wrapper.CheckConfirmationResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.