ArcGIS Server Geoportal extension
10

com.esri.gpt.control.csw.inbound202
Class SoapPublicationServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.esri.gpt.framework.context.BaseServlet
              extended by com.esri.gpt.control.csw.inbound202.PublicationServlet
                  extended by com.esri.gpt.control.csw.inbound202.SoapPublicationServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SoapPublicationServlet
extends PublicationServlet

Servlet soap end-point for CSW 2.0.2 publication requests.

See Also:
Serialized Form

Constructor Summary
SoapPublicationServlet()
           
 
Method Summary
protected  void execute(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Executes a request.
protected  void executeCSW(HttpServletRequest request, HttpServletResponse response, RequestContext context)
          Executes a CSW request.
protected  String handleException(Exception e)
          Creation an ExceptionReport response when an exception is encountered.
 PublicationResponse parse(String cswRequest, RequestContext requestContext)
          Parses and incoming CSW request and handles the appropriate action.
 
Methods inherited from class com.esri.gpt.framework.context.BaseServlet
authenticate, doGet, doPost, getCredentials, getLogger, getParameterValue, getRealm, readInputCharacters, writeCharacterResponse, writeHtmlResponse, writeXmlResponse
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapPublicationServlet

public SoapPublicationServlet()
Method Detail

execute

protected void execute(HttpServletRequest request,
                       HttpServletResponse response,
                       RequestContext context)
                throws Exception
Executes a request.

Overrides:
execute in class PublicationServlet
Parameters:
request - the servlet request
response - the servlet response
context - the request context
Throws:
Exception - if an exception occurs

executeCSW

protected void executeCSW(HttpServletRequest request,
                          HttpServletResponse response,
                          RequestContext context)
                   throws Exception
Executes a CSW request.

Overrides:
executeCSW in class PublicationServlet
Parameters:
request - the servlet request
response - the servlet response
context - the request context
Throws:
Exception - if an exception occurs

parse

public PublicationResponse parse(String cswRequest,
                                 RequestContext requestContext)
                          throws PublicationException
Parses and incoming CSW request and handles the appropriate action.

Parameters:
cswRequest - the incoming CSW request
Returns:
the CSW response
Throws:
PublicationException

handleException

protected String handleException(Exception e)
Creation an ExceptionReport response when an exception is encountered.

Overrides:
handleException in class PublicationServlet
Parameters:
e - the exception
Returns:
the exception report string

ArcGIS Server Geoportal extension
10

Copyright 2010 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.