org.apache.axis.transport.http
public class AxisServlet extends AxisServletBase
UNKNOWN: name="AxisServlet" display-name="Apache-Axis Servlet" url-pattern="/servlet/AxisServlet" url-pattern="*.jws" url-pattern="/services/*"
Field Summary | |
---|---|
static String | INIT_PROPERTY_DISABLE_SERVICES_LIST |
static String | INIT_PROPERTY_ENABLE_LIST |
static String | INIT_PROPERTY_JWS_CLASS_DIR |
static String | INIT_PROPERTY_SERVICES_PATH |
static String | INIT_PROPERTY_TRANSPORT_NAME |
static String | INIT_PROPERTY_USE_SECURITY |
protected static Log | log |
Constructor Summary | |
---|---|
AxisServlet()
create a new servlet instance |
Method Summary | |
---|---|
void | doGet(HttpServletRequest request, HttpServletResponse response)
Process GET requests. |
void | doPost(HttpServletRequest req, HttpServletResponse res)
Process a POST to the servlet by handing it off to the Axis Engine.
|
protected String | getDefaultJWSClassDir()
Provided to allow overload of default JWSClassDir
by derived class. |
protected int | getHttpServletResponseStatus(AxisFault af)
Extract information from AxisFault and map it to a HTTP Status code.
|
protected String | getJWSClassDir() |
void | init()
Initialization method. |
void | initQueryStringHandlers()
Initialize a Handler for the transport defined in the Axis server config.
|
protected void | logException(Throwable e)
log any exception to our output log, at our chosen level |
protected void | processAxisFault(AxisFault fault)
routine called whenever an axis fault is caught; where they
are logged and any other business. |
protected void | reportAvailableServices(HttpServletResponse response, PrintWriter writer, HttpServletRequest request)
This method lists the available services; it is called when there is
nothing to execute on a GET |
protected void | reportCantGetAxisService(HttpServletRequest request, HttpServletResponse response, PrintWriter writer)
generate the error response to indicate that there is apparently no endpoint there |
protected void | reportCantGetJWSService(HttpServletRequest request, HttpServletResponse response, PrintWriter writer)
probe for a JWS page and report 'no service' if one is not found there |
protected void | reportNoWSDL(HttpServletResponse res, PrintWriter writer, String moreDetailCode, AxisFault axisFault)
report that we have no WSDL
This method was moved to the querystring handler QSWSDLHandler. |
protected void | reportServiceInfo(HttpServletResponse response, PrintWriter writer, SOAPService service, String serviceName)
print a snippet of service info. |
Parameters: request request in response request out
Throws: ServletException IOException
Parameters: req posted request res respose
Throws: ServletException trouble IOException different trouble
Returns: directory for JWS files
Parameters: af Axis Fault
Returns: HTTP Status code.
Parameters: e what went wrong
Parameters: fault what went wrong.
Parameters: response writer request
Throws: ConfigurationException AxisFault
Parameters: request the request that didnt have an edpoint response response we are generating writer open writer for the request
Parameters: request the request that didnt have an edpoint response response we are generating writer open writer for the request
Parameters: res writer moreDetailCode optional name of a message to provide more detail axisFault optional fault string, for extra info at debug time only
Parameters: service service writer output channel serviceName where to put stuff