axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/server AxisServer.java
Date Tue, 01 Jul 2003 14:57:57 GMT
dims        2003/07/01 07:57:57

  Modified:    java/src/org/apache/axis/server AxisServer.java
  Log:
  Fix for Bug 15126 - onFault on global Handlers are not called...
  from Vlad Umansky (vladumansky@yahoo.com)
  
  Revision  Changes    Path
  1.90      +8 -1      xml-axis/java/src/org/apache/axis/server/AxisServer.java
  
  Index: AxisServer.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/server/AxisServer.java,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -u -r1.89 -r1.90
  --- AxisServer.java	22 Apr 2003 19:35:43 -0000	1.89
  +++ AxisServer.java	1 Jul 2003 14:57:56 -0000	1.90
  @@ -320,7 +320,14 @@
                       msgContext.setSOAPConstants(soapConstants);
                   }
                       
  -                h.invoke(msgContext);
  +                try {
  +                    h.invoke(msgContext);
  +                } catch (AxisFault ae) {
  +                    if ((h = getGlobalRequest()) != null ) {
  +                        h.onFault(msgContext);
  +                    }
  +                    throw ae;
  +                }
   
                   if( tlog.isDebugEnabled() ) {
                       t4=System.currentTimeMillis();
  
  
  

Mime
View raw message