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 15478] - Current Handler implementation doesn't follow the JAX-RPC ver 1.0
Date Mon, 10 Mar 2003 07:29:09 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=15478>.
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=15478

Current Handler implementation doesn't follow the JAX-RPC ver 1.0





------- Additional Comments From kimuratsy@nttdata.co.jp  2003-03-10 07:29 -------
Hi dims,

 Sorry for the delay.  Here is the patch.

-- <CUT> ----- <CUT> ----- <CUT> ----- <CUT> ----- <CUT> --
--- xml-axis/java/src/org/apache/axis/handlers/soap/SOAPService.java	Mon Feb 
24 19:47:56 2003 UTC
+++ SOAPService.java	Mon Mar 10 15:45:54 2003 JST
@@ -470,9 +470,17 @@
         HandlerInfoChainFactory handlerFactory = (HandlerInfoChainFactory) 
this.getOption(Constants.ATTR_HANDLERINFOCHAIN);
         HandlerChainImpl handlerImpl = null;
         if (handlerFactory != null) handlerImpl = (HandlerChainImpl) 
handlerFactory.createHandlerChain();
-        if (handlerImpl != null) handlerImpl.handleRequest(msgContext);
 
-        super.invoke(msgContext);
+        boolean result = true;
+        
+        if (handlerImpl != null) {
+            result = handlerImpl.handleRequest(msgContext);
+        }
+        if (result) {
+            super.invoke(msgContext);
+        } else {
+            msgContext.setPastPivot(true);
+        }
 
         if ( handlerImpl != null) {
             handlerImpl.handleResponse(msgContext);
-- <CUT> ----- <CUT> ----- <CUT> ----- <CUT> ----- <CUT> --

Best Regards,

  Toshi (Toshiyuki Kimura) <kimuratsy@nttdata.co.jp>
  R&D Headquarters
  NTT DATA Corporation

Mime
View raw message