Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::WebServiceServlet

Group:  Web Services


rwsf::WebServiceServletrwsf::HttpServlet

Local Index

Members

Header File

#include rwsf/webservice/servlet/WebServiceServlet.h

Description

The class rwsf::WebServiceServlet is the class from which all servlets in HydraExpress are derived. The servlet is automatically instantiated by the rwsf server when the server is started, and is based on the web.xml file generated by HydraExpress for your project. The servlet creates a rwsf::NamingContext context object for each service. This context contains all rwsf::NamedObject objects that are required by the service.

For more information on the servlet, see Section 8.3.11.2, "Servlet Configuration File: web.xml," in the HydraExpress Web Service Development Guide.

We recommend using the servlet automatically instantiated by the rwsf server, but if you choose to create or customize your own servlet, be sure to change its name in the context's web.xml file.

Public Member Functions

void
doGet(rwsf::HttpServletRequest & request,
    rwsf::HttpServletResponse & response);
void
doPost(rwsf::HttpServletRequest & request,
    rwsf::HttpServletResponse & response);
void
initContext(rwsf::CallInfo & context,
    rwsf::HttpServletRequest & request);
void
processContext(rwsf::CallInfo & context,
    rwsf::HttpServletRequest & request,
    rwsf::HttpServletResponse & response);

Protected Member Functions

void
destroy();
void
init();
void
init(const rwsf::ServletConfig & config);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.