org.jboss.webservice.server
Class ContextServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.axis.transport.http.AxisServletBase (src) 
          extended byorg.jboss.axis.transport.http.AxisServlet (src) 
              extended byorg.jboss.webservice.server.AbstractServlet (src) 
                  extended byorg.jboss.webservice.server.ContextServlet

public class ContextServlet
extends AbstractServlet (src)

The servlet that that is associated with context /ws4ee It manages the service list and the 'Version' service

Since:
09-Feb-2005
See Also:
Serialized Form

Field Summary
protected  Logger (src) log
           
 
Fields inherited from class org.jboss.axis.transport.http.AxisServlet (src)
INIT_PROPERTY_ENABLE_LIST, INIT_PROPERTY_JWS_CLASS_DIR, INIT_PROPERTY_TRANSPORT_NAME, INIT_PROPERTY_USE_SECURITY
 
Fields inherited from class org.jboss.axis.transport.http.AxisServletBase (src)
ATTR_AXIS_ENGINE, axisServer
 
Constructor Summary
ContextServlet()
           
 
Method Summary
 void doGet(HttpServletRequest req, HttpServletResponse res)
          Process GET requests.
 void doPost(HttpServletRequest req, HttpServletResponse res)
          Reject POST requests to '/ws4ee/services/someService'
protected  java.lang.String getServiceName(HttpServletRequest req)
          Get the service name as it is known to Axis

For JSE service endpoints it is obtained from the generated init parameter in web.xml

 
Methods inherited from class org.jboss.webservice.server.AbstractServlet (src)
getEngine, getTransportURL, processWsdlRequest, reportAvailableServices, setupHTMLResponseHeader
 
Methods inherited from class org.jboss.axis.transport.http.AxisServlet (src)
createMessageContext, getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, getProtocolVersion, init, invokeEndpointFromGet, logException, processAxisFault, processMethodRequest, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo, reportTrouble
 
Methods inherited from class org.jboss.axis.transport.http.AxisServletBase (src)
decLockCounter, destroy, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final Logger (src)  log
Constructor Detail

ContextServlet

public ContextServlet()
Method Detail

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse res)
            throws ServletException,
                   java.io.IOException
Reject POST requests to '/ws4ee/services/someService'

Overrides:
doPost in class AxisServlet (src)
Parameters:
req - posted request
res - respose
Throws:
java.io.IOException - different trouble
ServletException

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse res)
           throws ServletException,
                  java.io.IOException
Process GET requests.

Overrides:
doGet in class AxisServlet (src)
Parameters:
req - request in
res - request out
Throws:
java.io.IOException
ServletException

getServiceName

protected java.lang.String getServiceName(HttpServletRequest req)
Get the service name as it is known to Axis

For JSE service endpoints it is obtained from the generated init parameter in web.xml

Overrides:
getServiceName in class AxisServlet (src)