Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 10571 invoked from network); 17 Apr 2006 18:17:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2006 18:17:22 -0000 Received: (qmail 83720 invoked by uid 500); 17 Apr 2006 18:17:19 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 83657 invoked by uid 500); 17 Apr 2006 18:17:18 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 83645 invoked by uid 99); 17 Apr 2006 18:17:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 11:17:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 11:17:18 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9C2AD410007 for ; Mon, 17 Apr 2006 18:16:20 +0000 (GMT) Message-ID: <25526566.1145297780636.JavaMail.jira@brutus> Date: Mon, 17 Apr 2006 18:16:20 +0000 (GMT+00:00) From: "robert lazarski (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-434) SOAPMonitor ported to axis2 In-Reply-To: <190414218.1139323017574.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS2-434?page=all ] robert lazarski resolved AXIS2-434: ----------------------------------- Fix Version: 1.0 Resolution: Fixed Commited to svn. The approach was discussed on the dev list here: http://marc.theaimsgroup.com/?l=axis-dev&m=114527481628117&w=2 #3 was not implemented - the user needs to copy the applet classes to axis2/*.class/WEB-INF . > SOAPMonitor ported to axis2 > --------------------------- > > Key: AXIS2-434 > URL: http://issues.apache.org/jira/browse/AXIS2-434 > 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: soapmonitor.zip, soapmonitor.zip > > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira