Examples of noteMessage()


Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

                {
                    log.error("The folder " + nextMessageDirectory
                            + " is not found.", e);
                }

                serviceResponseInfo
                        .noteMessage("The message "
                                + messageIDInRequest
                                + "is removed from "
                                + "the head of the queue. The next message in the queue will be put into the "
                                + "'next_message' folder unless the queue is empty");
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

       
        if (commonNameList.contains(commonName))
        {
          System.out.println("The Common Name in the Cert was valid for "
                    + mailBoxURI);
          serviceResponseInfo.noteMessage("The Common Name in the Cert was valid for "
                    + mailBoxURI);
          return serviceResponseInfo;
        }
        // if common name is not authorized
        log.error("The common name " + commonName
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

  public Response toResponse(TestException ex)
  {
    ServiceResponseInfo sb = new ServiceResponseInfo();

    sb.noteMessage("mailbox_nominal_uri attribute in incoming request "
        + "document is not specified properly");
   
    Element errorDocumentElement = Drop_OffUtil.createDropOffErrorMessage(
        "TestRecordURI", null, null, null,
        SSAFErrorTypes.REQUEST_INVALID, "mailBoxName", null);
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

       
        if (commonNameList.contains(commonName))
        {
          log.info("The Common Name in the Cert was valid for "
                    + mailBoxURI);
          serviceResponseInfo.noteMessage("The Common Name in the Cert was valid for "
                    + mailBoxURI);
          return serviceResponseInfo;
        }
        // if common name is not authorized
        log.error("The common name " + commonName
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

      }
    }
    else
    {
      // Throw Fault if MailBoxURI is not specified
      sb.noteMessage("mailbox_nominal_uri attribute in incoming request "
          + "document is not specified properly");
      Drop_OffUtil.throwFault(recordURI, null, null, sb,
          SSAFErrorTypes.REQUEST_INVALID, mailBoxURI, docElement);
    }
    return empty;
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

        else
        {
          // if confirmationFileToDelete is null- just note down the message_id.
          // In future if you need a list of files which are not deleted use this.
          // At present Bills says it is not required return a list back to client.
          sb.noteMessage("Trying to delete a confirmation file which does'nt exists in a "
                  + "file system - with message_id : "
                  + messageID
                  + " in directory path : "
                  + mailBoxes_root
                  + mailBoxURI
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

    }
    else
    {
      // throw FatalFault if message_Id or mailbox_nominal_uri are not
      // specified in incoming request file.
      sb.noteMessage("message_id_list or mailbox_nominal_uri attributes in "
              + "request file are not specified properly");
      Drop_OffUtil.throwFault(recordURI, null, null, sb,
          SSAFErrorTypes.REQUEST_INVALID, mailBoxURI, docElement);
    }
    return empty;
View Full Code Here

Examples of org.wijiscommons.ssaf.ServiceResponseInfo.noteMessage()

      }
    }
    else
    {
      // Throw Fault if MailBoxURI is not specified
      sb.noteMessage("mailbox_nominal_uri attribute in incoming request document" +
          " is not specified properly");
      log.error(sb.getMergedMessages());
      Drop_OffUtil  .throwFaultrecordURI,
                  null,
                  null,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.