On Apr 17, 2007, at 11:55 AM, Jeff Genender wrote:

Why not use a low level Valve to trap the HTTP call before a redirect
can occur?

Jeff

Maybe there is some way to do that. But it looks to me like the redirect occurs before the first valve is called. At least that's what I observed when I set the EJBWebServiceValve as the basic valve instead of just adding it to the context, like so:

--- src/main/java/org/apache/geronimo/tomcat/ TomcatEJBWebServiceContext.java (revision 529223) +++ src/main/java/org/apache/geronimo/tomcat/ TomcatEJBWebServiceContext.java (working copy)
@@ -127,7 +127,7 @@
             isSecureTransportGuarantee = false;
         }
         this.classLoader = classLoader;
-        this.addValve(new EJBWebServiceValve());
+        this.setBasic(new EJBWebServiceValve());
     }

Best wishes,
Paul

Reply via email to