Examples of noteError()


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

          }
          else
          {
            // throw FatalFault if incoming DeleteError request does not contain expected
            // drop-off:error_message_to_delete element.
            sb.noteError("DeleteError incoming request document does not contain " +
            "drop-off:error_message_to_delete element which is required");
            Drop_OffUtil.throwFault(
                    null,
                    null,
                    null,
View Full Code Here

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

          }
          else
          {
            // throw FatalFault if incoming DeleteConfirmatio request does not contain
            // expected drop-off:confirmation_messages_to_delete element.
            sb.noteError("DeleteConfirmation incoming request document does not contain " +
            "drop-off:confirmation_messages_to_delete element which is required");
            Drop_OffUtil.throwFault(
                    null,
                    null,
                    null,
View Full Code Here

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

            recordURI = attributesMap.get("recordURI");
            mailBoxURI = attributesMap.get("dropoffMailBoxURI");
        }
        else
        {
            sb.noteError("Input document did not match with any of excepted types");
            Drop_OffUtil.throwFault(recordURI, clientsideID, null, sb,
                    SSAFErrorTypes.REQUEST_INVALID, mailBoxURI, null);
        }

        // Throw a Fault if cert is invalid
View Full Code Here

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

            sb = Drop_OffUtil.isUserAuthenticated(mailBoxURI, commonNameInCert,
                    authenticateMailBoxURIs);

            if (sb.isErrorResponse())
            {
                sb.noteError("User is not authenticated to use this particular mailbox");
                Drop_OffUtil    .throwFault(
                                recordURI,
                                clientsideID,
                                null,
                                sb, SSAFErrorTypes.REQUEST_USER_UNAUTHORIZED,
View Full Code Here

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

          return serviceResponseInfo;
        }
        // if common name is not authorized
        log.error("The common name " + commonName
            + " is not authorized to access mailBoX URI " + mailBoxURI);
        serviceResponseInfo.noteError("The common name " + commonName
            + " is not authorized to access mailBoX URI " + mailBoxURI);
      }
      else
      {
        // if it can not find certificates map
View Full Code Here

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

      else
      {
        // if it can not find certificates map
        log.error("Not able to find a map with  name certificates: "
                 + mailBoxURI);
        serviceResponseInfo.noteError("Not able to find a map name certificates : "
                + mailBoxURI);
      }
    }
    else
    {   // if it can not find mailBox name in hashMap
View Full Code Here

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

    }
    else
    {   // if it can not find mailBox name in hashMap
      log.error("Not able to find a mailBox name specified : "
               + mailBoxURI);
      serviceResponseInfo.noteError("Not able to find a mailBox name specified : "
              + mailBoxURI);
    }
    return serviceResponseInfo;
  }
View Full Code Here

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

    String mailBoxAbsolutePath = mailBoxes_root + mailBoxURI;

    // Throw Fault if clientside_Id is not specified
    if (StringUtils.isBlank(clientsideID))
    {
      sb.noteError("clientside_Id attribute is not specified"
          + " in incoming request document");
      Drop_OffUtil.throwFault(recordURI, null, null, sb,
          SSAFErrorTypes.REQUEST_INVALID, mailBoxURI, docElement);

    }
View Full Code Here

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

    }
    else
    {
      // throw FatalFault if message_Id or mailbox_nominal_uri are not
      // specified in incoming request file.
      sb.noteError("message_id or mailbox_nominal_uri attributes in incoming "
              + "request document are not specified properly");
      Drop_OffUtil.throwFault(recordURI, clientsideID, messageID, sb,
          SSAFErrorTypes.REQUEST_INVALID, mailBoxURI, docElement);
    }
View Full Code Here

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

      }
      else
      {
        // throw FatalFault if you are not able to find file with
        // specified clientside_id/message_id in file system.
        sb.noteError("Status Report Not Found with specified clientside_id");
        Drop_OffUtil.throwFault(recordURI, clientsideID, null, sb,
            SSAFErrorTypes.REQUEST_RECORD_ERROR, mailBoxURI,
            docElement);
      }
    }
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.