org.apache.axis.transport.http
Class QSWSDLHandler

java.lang.Object
  extended byorg.apache.axis.transport.http.AbstractQueryStringHandler
      extended byorg.apache.axis.transport.http.QSWSDLHandler
All Implemented Interfaces:
QSHandler

public class QSWSDLHandler
extends AbstractQueryStringHandler

The QSWSDLHandler class is a handler which provides an AXIS service's WSDL document when the query string "wsdl" is encountered in an AXIS servlet invocation.

Author:
Curtiss Howard (code mostly from AxisServlet class), Doug Davis (dug@us.ibm.com), Steve Loughran

Field Summary
 
Fields inherited from class org.apache.axis.transport.http.AbstractQueryStringHandler
exceptionLog, log
 
Constructor Summary
QSWSDLHandler()
           
 
Method Summary
 void invoke(MessageContext msgContext)
          Performs the action associated with this particular query string handler.
 void reportNoWSDL(javax.servlet.http.HttpServletResponse res, java.io.PrintWriter writer, java.lang.String moreDetailCode, AxisFault axisFault)
          report that we have no WSDL
 void reportWSDL(org.w3c.dom.Document doc, java.io.PrintWriter writer)
          report WSDL
 
Methods inherited from class org.apache.axis.transport.http.AbstractQueryStringHandler
configureFromContext, configureResponseFromAxisFault, convertExceptionToAxisFault, isDevelopment, processAxisFault, writeFault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSWSDLHandler

public QSWSDLHandler()
Method Detail

invoke

public void invoke(MessageContext msgContext)
            throws AxisFault
Performs the action associated with this particular query string handler.

Parameters:
msgContext - a MessageContext object containing message context information for this query string handler.
Throws:
AxisFault - if an error occurs.

reportWSDL

public void reportWSDL(org.w3c.dom.Document doc,
                       java.io.PrintWriter writer)
report WSDL

Parameters:
doc -
writer -

reportNoWSDL

public void reportNoWSDL(javax.servlet.http.HttpServletResponse res,
                         java.io.PrintWriter writer,
                         java.lang.String moreDetailCode,
                         AxisFault axisFault)
report that we have no WSDL

Parameters:
res -
writer -
moreDetailCode - optional name of a message to provide more detail
axisFault - optional fault string, for extra info at debug time only


Copyright © 2003 Apache Web Services Project. All Rights Reserved.