org.apache.axis.monitor
Class SOAPMonitorService
public
class
SOAPMonitorService
extends HttpServlet
This is a SOAP Monitor Service class.
During the HTTP server startup, the servlet init method
is invoked. This allows the code to open a server
socket that will be used to communicate with running
applets.
When an HTTP GET request is received, the servlet
dynamically produces an HTML document to load the SOAP
monitor applet and supply the port number being used by
the server socket (so the applet will know how to
connect back to the server).
Each time a socket connection is established, a new
thread is created to handle communications from the
applet.
The publishMethod routine is invoked by the SOAP monitor
handler when a SOAP message request or response is
detected. The information about the SOAP message is
then forwared to all current socket connections for
display by the applet.
Author: Brian Price (pricebe@us.ibm.com)
xdoclet tags are not active yet; keep web.xml in sync
UNKNOWN: name="SOAPMonitorService" display-name="SOAPMonitorService" load-on-startup="100" url-pattern="/SOAPMonitor" name="SOAPMonitorPort" value="5001"
Method Summary |
void | destroy()
Servlet termination |
void | doGet(HttpServletRequest request, HttpServletResponse response)
HTTP GET request |
void | init()
Servlet initialiation |
static void | publishMessage(Long id, Integer type, String target, String soap)
Publish a SOAP message to listeners |
public SOAPMonitorService()
Constructor
public void destroy()
Servlet termination
public void doGet(HttpServletRequest request, HttpServletResponse response)
HTTP GET request
public void init()
Servlet initialiation
public static void publishMessage(Long id, Integer type, String target, String soap)
Publish a SOAP message to listeners
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.