Examples of noteError()


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

          recordRetrievalResponse.setAny(retrievalResponseDocument
                .getDocumentElement());
        }
        catch (SSAFSolrException solrException)
        {
          sb.noteError(solrException.getMessage());
          log.error(sb.getMergedMessages());
          SearchServiceUtil.throwFault(sb, solrException.getErrortype(),
                  retrieveDocElement,false);
        }
        catch (Exception ex)
View Full Code Here

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

          SearchServiceUtil.throwFault(sb, solrException.getErrortype(),
                  retrieveDocElement,false);
        }
        catch (Exception ex)
        {
          sb.noteError("Caught exception while connecting to SSAFSOLR retrieval method :"+ex.getMessage());
          log.error(sb.getMergedMessages());
          SearchServiceUtil.throwFault(sb, SSAFErrorTypes.REQUEST_RECORD_ERROR,
                  retrieveDocElement,false);
        }
      }
View Full Code Here

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

        log.error("Injected SSAFSolr search implementation bean is null");
      }
    }
    catch (SSAFSolrException solrException)
    {
      sb.noteError(solrException.getMessage());
      log.error(sb.getMergedMessages());
      SearchServiceUtil.throwFault(
              sb, solrException.getErrortype(),
              searchRequestDocElement,true);
    }
View Full Code Here

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

              sb, solrException.getErrortype(),
              searchRequestDocElement,true);
    }
    catch (Exception ex)
    {
      sb.noteError("Caught exception while connecting to SSAFSOLR search method :"+ex.getMessage());
      log.error(sb.getMergedMessages());
      SearchServiceUtil.throwFault(
              sb, SSAFErrorTypes.REQUEST_RECORD_ERROR,
              searchRequestDocElement,true);
    }
View Full Code Here

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

            log.info("Incoming request document is of type  Search");
          }
          else
          {   // throw FatalFault if incoming Search request does
            // not contain expected search:search_request element.
            sb.noteError("Incoming search request document does not contain "
                    + "search_request element which is required");
            throwFault(sb, SSAFErrorTypes.REQUEST_INVALID, docElement,true);
          }
          break;
        }
View Full Code Here

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

          }
          else
          {
            // throw FatalFault if incoming recordRetrieval request
            // does not contain expected search:record_retrieval_request element.
            sb.noteError("Incoming RecordRetrieval request document does not contain "
                    + "record_retrieval_request element which is required");
            throwFault(sb, SSAFErrorTypes.REQUEST_INVALID, docElement,false);
          }
          break;
        }
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()

    X509Certificate[] certs = (X509Certificate[]) request
                .getAttribute("javax.servlet.request.X509Certificate");
   
    if (certs == null)
        {
            sb.noteError("Client certificate is missing");
            return sb;
        }

        X509Certificate cert = certs[0];
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.