fedora.server.access
Class WSDLServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
fedora.server.access.WSDLServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class WSDLServlet
- extends javax.servlet.http.HttpServlet
Dynamically provides complete and accurate WSDL files for Fedora APIs.
This servlet directly includes the common XSD type definitions
in each WSDL file and ensures that the binding address reflects the
base URL of the Fedora instance, based on the request URI.
- Author:
- cwilper@cs.cornell.edu
- See Also:
- Serialized Form
|
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Respond to an HTTP GET request. |
void |
init()
Initialize by setting serverDir based on FEDORA_HOME. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDLServlet
public WSDLServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Respond to an HTTP GET request.
The single parameter, "api", indicates which WSDL file to provide.
If no parameters are given, a simple HTML index is given instead.
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
java.io.IOException
javax.servlet.ServletException
init
public void init()
throws javax.servlet.ServletException
- Initialize by setting serverDir based on FEDORA_HOME.
- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException