Examples of noteError()


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

        // this is else part for pollForAFile if statement.
        else
        {
          // throw FatalFault if you are not able to find file with
          // specified clientside_id in file system.
          sb.noteError("Not able to find a response for this request, SSAF component " +
              "is taking sometime to process a request. Try to invoke asynchronous " +
              "CheckDropOffStatus web service method with clientside_id :" +clientsideID+" to check for response");
          log.error(sb.getMergedMessages());
         
          Drop_OffUtil.throwFault(recordURI,
View Full Code Here

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

                        .getDocumentElement());
          }
        }
        else
        {   // throw FatalFault if ssaf:permission_assertions element is not present
          sb.noteError("ssaf:permission_assertions element is not present" +
              " in incoming request document");
          log.error(sb.getMergedMessages());
          Drop_OffUtil.throwFault(
                  recordURI,
                  clientsideID,
View Full Code Here

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

      }
      // this is else part for dropOffAFile() if statement
      else
      {
        // throw FatalFault if it could not drop-off a file
        sb.noteError("Could not dropOff a file at :"
            + mailBoxesAbsolutePath +SSAFUtil.fileSeparator+
            "drop_off"+SSAFUtil.fileSeparator+"drop_box");
        log.error(sb.getMergedMessages());
       
        Drop_OffUtil.throwFault(recordURI,
View Full Code Here

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

                      .getDocumentElement());
        }
      }
      else
      {   // throw FatalFault if ssaf:account element is not present
        sb.noteError("ssaf:account element is not present in incoming request document");
        log.error(sb.getMergedMessages());
        Drop_OffUtil.throwFault(
                recordURI,
                clientsideID,
                null,
View Full Code Here

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

      }
    }
    else
    {
      // throw FatalFault if ssaf:authenticated_user element is not present
      sb.noteError("ssaf:authenticated_user element is not present in incoming request document");
      log.error(sb.getMergedMessages());
      Drop_OffUtil  .throwFault(
              recordURI,
              clientsideID,
              null,
View Full Code Here

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

        ServiceResponseInfo serviceResponseInfo = new ServiceResponseInfo();

        if (folderURI == null || messageID == null)
        {
            serviceResponseInfo
            .noteError("nominal folder uri or message_id is missing in the request ");
        }
        else
        {
            String destDir =
View Full Code Here

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

        Document wrappedMessageDoc = null;
        Document messageDoc = null;

        if (StringUtils.isBlank(folderURI))
        {
            serviceResponseInfo
            .noteError("The attribute "
                    + SSAFNodes.pick_up_folder_nominal_uri.getLocalName()
                    + " with namespace "
                    + SSAFNodes.pick_up_folder_nominal_uri.getNamespace()
                    + " is required in the request.");
View Full Code Here

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

                        .getNamespace(), SSAFNodes.message_id.getLocalName());
            }
           
            else
            {
                sb.noteError("The invocation is empty.");
            }

        }

        if (sb.isErrorResponse())
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
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.