axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22056] New: - <faultFlow> not working
Date Fri, 01 Aug 2003 14:51:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22056>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22056

<faultFlow> not working

           Summary: <faultFlow> not working
           Product: Axis
           Version: 1.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: leecook@us.ibm.com


I have a global handler that I need to get a callback from any service
thrown exception (Java service).
When my test service throws an excpetion my global handler never gets a
callback to its onFault() method either.
It appears that <faultFlow> is enabled in Axis 1.1 src, but Im having no
luck at all getting it to  work.

here is my wsdd config.  I need to detect all 3 operation types in a single
MYHandler class.

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <globalConfiguration>
  <requestFlow>
   <handler type="myHandlerEnter"/>
  </requestFlow>
  <responseFlow>
   <handler type="myHandlerLeave"/>
  </responseFlow>
  <faultFlow>
   <handler type="myHandlerFault"/>
  </faultFlow>
 </globalConfiguration>

<handler name="myHandlerEnter" type="java:MyHandler">
    <parameter name="event_type" value="Server_Enter"/>
    ...
<handler name="myHandlerLeave" type="java:MyHandler">
  <parameter name="event_type" value="Server_Leave"/>
  ...
 </handler>
 <handler name="myHandlerFault" type="java:MyHandler">
  <parameter name="event_type" value="Server_Fault"/>
  ...
 </handler>

Mime
View raw message