axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruchith Udayanga Fernando (JIRA)" <>
Subject [jira] Commented: (AXIS2-434) SOAPMonitor ported to axis2
Date Tue, 18 Apr 2006 05:15:18 GMT
    [ ] 

Ruchith Udayanga Fernando commented on AXIS2-434:

Ajith just fixed it !
SVN revision 394836

> SOAPMonitor ported to axis2
> ---------------------------
>          Key: AXIS2-434
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature

>   Components: Tools
>     Versions: 0.94
>  Environment: Linux, java 5.0 , mozilla
>     Reporter: trebor iksrazal
>      Fix For: 1.0
>  Attachments:,
> The soap monitor is really three components: An applet which displays responses / requests,
a servlet which binds to a default port of 5001 and connects to the applet, and a handler
used to intercept the soap messages. Therefore it requires three diferent pieces to be installed:
applet classes --> *.class/WEB-INF, a servlet config in web.xml and the servlet classes
in WEB-INF/lib etc, and a module with the handlers under WEB-INF/modules. The module also
requires phases defined and placed in axis2.xml .   
> Accordingly, I tried to fit these classes into a structure that matches axis2. The source
files are under the directory --> modules/soapmonitor .  I did some guess work here as
a starting point. 
> Not needed but perhaps helpful is my build.xml along with my web.xml and axis2.xml, under
the dir 'resources'in the zip file. 
> The only needed change in the port - besides package name changes - was the SOAPMonitorHandler.
A module was created with phase orders, and the handler determines whether the soap message
is a request or a response by MessageContext.getFlow(). The axis 1.x soap handler depended
on MessageContext.isResponseWritten() . However,  setResponseWritten() is never invoked in
the axis2 code base. 
> Attachment comming in comments. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message