axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r467860 - in /webservices/axis2/branches/java/1_1/modules: addressing/src/org/apache/axis2/handlers/addressing/ integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/ integration/test-resources/S...
Date Thu, 26 Oct 2006 04:43:45 GMT
Author: nagy
Date: Wed Oct 25 21:43:43 2006
New Revision: 467860

URL: http://svn.apache.org/viewvc?view=rev&rev=467860
Log:
Modified race condition fix (r467761) as requested by Glen and Sanjiva.  InvocationProcessingInstruction has been renamed and moved into the Handler interface.

Removed:
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InvocationProcessingInstruction.java
Modified:
    webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
    webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
    webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
    webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
    webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
    webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
    webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
    webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
    webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
    webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java
    webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler.java
    webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler1.java
    webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/util/FaultHandler.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AbstractDispatcher.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Handler.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Phase.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/AbstractTransportSender.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
    webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/jms/JMSSender.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/ModuleHandler1.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/deployment/SpeakingHandler.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/RegistryTest.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler1.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/engine/EnginePausingTest.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/handlers/Handler2.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/registry/Handler3.java
    webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/sample/handlers/LoggingHandler.java
    webservices/axis2/branches/java/1_1/modules/samples/src/userguide/loggingmodule/LogHandler.java
    webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanInHandler.java
    webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanOutHandler.java
    webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartReceiver.java
    webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartSender.java
    webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/WSDoAllHandler.java
    webservices/axis2/branches/java/1_1/modules/soapmonitor/src/org/apache/axis2/handlers/soapmonitor/SOAPMonitorHandler.java

Modified: webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java Wed Oct 25 21:43:43 2006
@@ -28,7 +28,6 @@
 import org.apache.axis2.addressing.RelatesTo;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.util.JavaUtils;
 
 import org.apache.commons.logging.Log;
@@ -46,14 +45,14 @@
     private static final Log log = LogFactory.getLog(AddressingInHandler.class);
 
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         // if another handler has already processed the addressing headers, do not do anything here.
         if (JavaUtils.isTrueExplicitly(msgContext.getProperty(IS_ADDR_INFO_ALREADY_PROCESSED))) {
             if(log.isDebugEnabled()) {
                 log.debug("Another handler has processed the addressing headers. Nothing to do here.");
             }
 
-            return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+            return InvocationResponse.CONTINUE;        
         }
         
         // check whether someone has explicitly set which addressing handler should run.
@@ -66,7 +65,7 @@
                 log.debug("This addressing handler does not match the specified namespace, " + namespace);
             }
 
-            return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+            return InvocationResponse.CONTINUE;        
         }
 
         SOAPHeader header = null;
@@ -77,7 +76,7 @@
         // if there are not headers put a flag to disable addressing temporary
         if (header == null) {
             msgContext.setProperty(DISABLE_ADDRESSING_FOR_OUT_MESSAGES, Boolean.TRUE);
-            return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+            return InvocationResponse.CONTINUE;        
         }
 
 		if(log.isDebugEnabled()) {
@@ -101,7 +100,7 @@
 				log.debug("No Headers present corresponding to " + addressingVersion);
 			}
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     protected Options extractAddressingInformation(SOAPHeader header, MessageContext messageContext,

Modified: webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingOutHandler.java Wed Oct 25 21:43:43 2006
@@ -33,7 +33,6 @@
 import org.apache.axis2.addressing.RelatesTo;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.util.JavaUtils;
 
 import javax.xml.namespace.QName;
@@ -44,12 +43,12 @@
 
 public class AddressingOutHandler extends AddressingHandler {
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         // it should be able to disable addressing by some one.
         Object property = msgContext.getProperty(DISABLE_ADDRESSING_FOR_OUT_MESSAGES);
         if (property != null && JavaUtils.isTrueExplicitly(property)) {
             log.debug("Addressing is disabled .....");
-            return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+            return InvocationResponse.CONTINUE;        
         }
 
         Object addressingVersionFromCurrentMsgCtxt = msgContext.getProperty(WS_ADDRESSING_VERSION);
@@ -119,7 +118,7 @@
         // process mustUnderstand attribute, if required.
         processMustUnderstandProperty(envelope, msgContext, addressingNamespaceObject);
 
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     private void processWSAAction(Options messageContextOptions, SOAPEnvelope envelope,

Modified: webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java Wed Oct 25 21:43:43 2006
@@ -21,7 +21,6 @@
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.addressing.AddressingFaultsHelper;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.util.JavaUtils;
 import org.apache.commons.logging.Log;
@@ -34,7 +33,7 @@
     /* (non-Javadoc)
      * @see org.apache.axis2.engine.Handler#invoke(org.apache.axis2.context.MessageContext)
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
     	// If no AxisOperation has been found at the end of the dispatch phase and addressing
         // is in use we should throw an ActionNotSupported Fault
         checkAction(msgContext);
@@ -42,7 +41,7 @@
         checkUsingAddressing(msgContext);
         // Check that if anonymous flag is in effect that the replyto and faultto are valid
         //checkAnonymous(msgContext);
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
     
     /**

Modified: webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultB.java Wed Oct 25 21:43:43 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMAttribute;
@@ -52,7 +51,7 @@
 
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         SOAPEnvelope envelope = msgContext.getEnvelope();
         SOAPFactory factory = OMAbstractFactory.getSOAP12Factory();
         SOAPHeader headerAdd = factory.createSOAPHeader(envelope);
@@ -157,7 +156,7 @@
             headerBlockPresent = new Integer(0);
             msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }
 

Modified: webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java Wed Oct 25 21:43:43 2006
@@ -17,7 +17,6 @@
 package org.apache.axis2.soap12testing.handlers;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPHeaderBlock;
@@ -31,7 +30,7 @@
 
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) {
+    public InvocationResponse invoke(MessageContext msgContext) {
         Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT");
         if (headerBlockPresent.equals(new Integer(1))) {
             SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK");
@@ -43,7 +42,7 @@
         } else {
             msgContext.getEnvelope().getHeader().discard();
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }
 

Modified: webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleB/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java Wed Oct 25 21:43:43 2006
@@ -17,7 +17,6 @@
 package org.apache.axis2.soap12testing.handlers;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPHeaderBlock;
@@ -31,7 +30,7 @@
 
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) {
+    public InvocationResponse invoke(MessageContext msgContext) {
         Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT");
         if (headerBlockPresent.equals(new Integer(1))) {
             SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK");
@@ -43,6 +42,6 @@
         } else {
             msgContext.getEnvelope().getHeader().discard();
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }

Modified: webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12InFlowHandlerDefaultC.java Wed Oct 25 21:43:43 2006
@@ -18,7 +18,6 @@
 
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMAttribute;
@@ -51,7 +50,7 @@
 
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         SOAPEnvelope envelope = msgContext.getEnvelope();
         if (envelope.getHeader() != null) {
             Iterator headerBlocks = envelope.getHeader().examineAllHeaderBlocks();
@@ -160,6 +159,6 @@
             headerBlockPresent = new Integer(0);
             msgContext.getOperationContext().setProperty("HEADER_BLOCK_PRESENT", headerBlockPresent);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }

Modified: webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFaultFlowHandlerDefault.java Wed Oct 25 21:43:43 2006
@@ -17,7 +17,6 @@
 package org.apache.axis2.soap12testing.handlers;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPHeaderBlock;
@@ -31,7 +30,7 @@
 
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) {
+    public InvocationResponse invoke(MessageContext msgContext) {
         Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT");
         if (headerBlockPresent.equals(new Integer(1))) {
             SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK");
@@ -43,6 +42,6 @@
         } else {
             msgContext.getEnvelope().getHeader().discard();
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }

Modified: webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test-resources/SOAP12Testing/SOAP12TestModuleC/org/apache/axis2/soap12testing/handlers/SOAP12OutFlowHandlerDefault.java Wed Oct 25 21:43:43 2006
@@ -17,7 +17,6 @@
 package org.apache.axis2.soap12testing.handlers;
 
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axiom.soap.SOAPHeader;
 import org.apache.axiom.soap.SOAPHeaderBlock;
@@ -31,7 +30,7 @@
 
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) {
+    public InvocationResponse invoke(MessageContext msgContext) {
         Integer headerBlockPresent = (Integer) msgContext.getOperationContext().getProperty("HEADER_BLOCK_PRESENT");
         if (headerBlockPresent.equals(new Integer(1))) {
             SOAPHeader headerAdd = (SOAPHeader) msgContext.getOperationContext().getProperty("HEADER_BLOCK");
@@ -43,6 +42,6 @@
         } else {
             msgContext.getEnvelope().getHeader().discard();
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java Wed Oct 25 21:43:43 2006
@@ -123,7 +123,7 @@
     }
 
     private Handler culprit = new AbstractHandler() {
-        public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+        public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
             throw new AxisFault(UtilServer.FAILURE_MESSAGE);
         }
     };

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler.java Wed Oct 25 21:43:43 2006
@@ -35,9 +35,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler1.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler1.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler1.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/SpeakingHandler1.java Wed Oct 25 21:43:43 2006
@@ -48,9 +48,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/util/FaultHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/util/FaultHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/util/FaultHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/integration/test/org/apache/axis2/engine/util/FaultHandler.java Wed Oct 25 21:43:43 2006
@@ -11,7 +11,6 @@
 import org.apache.axiom.soap.SOAPFaultValue;
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 
 import javax.xml.namespace.QName;
@@ -41,7 +40,7 @@
     public static final String ERR_HANDLING_WITH_MSG_CTXT = "ErrorHandlingWithParamsSetToMsgCtxt";
     public static final String ERR_HANDLING_WITH_AXIS_FAULT = "ErrorHandlingWithParamsSetToAxisFault";
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         // this handler will be used to check the fault handling of Axis2.
         // this will create some dummy faults and send
 
@@ -77,6 +76,6 @@
         } else if (ERR_HANDLING_WITH_AXIS_FAULT.equals(firstElement.getLocalName())) {
             throw new AxisFault(new QName(M_FAULT_EXCEPTION), FAULT_REASON, null, null, detailEntry);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 }

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AbstractDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AbstractDispatcher.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AbstractDispatcher.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AbstractDispatcher.java Wed Oct 25 21:43:43 2006
@@ -73,7 +73,7 @@
      * @param msgctx
      * @throws org.apache.axis2.AxisFault
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgctx) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgctx) throws AxisFault {
         AxisService axisService = msgctx.getAxisService();
 
         if (axisService == null) {
@@ -103,6 +103,6 @@
                         WSDLConstants.MESSAGE_LABEL_IN_VALUE));
             }
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 }

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java Wed Oct 25 21:43:43 2006
@@ -102,7 +102,7 @@
      * @param msgctx
      * @throws org.apache.axis2.AxisFault
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgctx) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgctx) throws AxisFault {
 
         // first check we can dispatch using the relates to
         if (msgctx.getRelatesTo() != null) {
@@ -129,7 +129,7 @@
                 }
             }
 
-            return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+            return InvocationResponse.CONTINUE;
         }
 
         return super.invoke(msgctx);

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/AxisEngine.java Wed Oct 25 21:43:43 2006
@@ -34,6 +34,7 @@
 import org.apache.axis2.description.AxisOperation;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.description.TransportOutDescription;
+import org.apache.axis2.engine.Handler.InvocationResponse;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.TransportSender;
 import org.apache.axis2.util.JavaUtils;
@@ -481,9 +482,9 @@
         // affecting later messages.
         msgContext.setExecutionChain((ArrayList) preCalculatedPhases.clone());
         msgContext.setFLOW(MessageContext.IN_FLOW);
-        InvocationProcessingInstruction pi = invoke(msgContext);
+        InvocationResponse pi = invoke(msgContext);
 
-        if (pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING))
+        if (pi.equals(InvocationResponse.CONTINUE))
         {
           if (msgContext.isServerSide()) {
 
@@ -503,24 +504,24 @@
      * if the msgContext is pauesd then the execution will be breaked
      *
      * @param msgContext
-     * @return An InvocationProcessingInstruction that indicates what
+     * @return An InvocationResponse that indicates what
      *         the next step in the message processing should be.
      * @throws AxisFault
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         if (msgContext.getCurrentHandlerIndex() == -1) {
             msgContext.setCurrentHandlerIndex(0);
         }
 
-        InvocationProcessingInstruction pi = InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        InvocationResponse pi = InvocationResponse.CONTINUE;
 
         while (msgContext.getCurrentHandlerIndex() < msgContext.getExecutionChain().size()) {
             Handler currentHandler = (Handler) msgContext.getExecutionChain().
                     get(msgContext.getCurrentHandlerIndex());
             pi = currentHandler.invoke(msgContext);
 
-            if (pi.equals(InvocationProcessingInstruction.SUSPEND_PROCESSING) ||
-                pi.equals(InvocationProcessingInstruction.ABORT_PROCESSING))
+            if (pi.equals(InvocationResponse.SUSPEND) ||
+                pi.equals(InvocationResponse.ABORT))
             {
               break;
             }
@@ -535,15 +536,15 @@
      * first invoke the phase list and after the message receiver
      *
      * @param msgContext
-     * @return An InvocationProcessingInstruction allowing the invoker to perhaps determine
+     * @return An InvocationResponse allowing the invoker to perhaps determine
      *         whether or not the message processing will ever succeed.
      * @throws AxisFault
      */
-    public InvocationProcessingInstruction resumeReceive(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse resumeReceive(MessageContext msgContext) throws AxisFault {
         //invoke the phases
-        InvocationProcessingInstruction pi = invoke(msgContext);
+        InvocationResponse pi = invoke(msgContext);
         
-        if (pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING))
+        if (pi.equals(InvocationResponse.CONTINUE))
         {
           //invoking the MR
           if (msgContext.isServerSide()) {
@@ -561,14 +562,14 @@
      * TransportSender at the end
      *
      * @param msgContext
-     * @return An InvocationProcessingInstruction allowing the invoker to perhaps determine
+     * @return An InvocationResponse allowing the invoker to perhaps determine
      *         whether or not the message processing will ever succeed.
      */
-    public InvocationProcessingInstruction resumeSend(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse resumeSend(MessageContext msgContext) throws AxisFault {
         //invoke the phases
-        InvocationProcessingInstruction pi = invoke(msgContext);
+        InvocationResponse pi = invoke(msgContext);
         //Invoking Tarnsport Sender
-        if (pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING)) {
+        if (pi.equals(InvocationResponse.CONTINUE)) {
             // write the Message to the Wire
             TransportOutDescription transportOut = msgContext.getTransportOut();
             TransportSender sender = transportOut.getSender();
@@ -597,9 +598,9 @@
         // affecting later messages.
         msgContext.setExecutionChain((ArrayList) preCalculatedPhases.clone());
         msgContext.setFLOW(MessageContext.IN_FAULT_FLOW);
-        InvocationProcessingInstruction pi = invoke(msgContext);
+        InvocationResponse pi = invoke(msgContext);
         
-        if (pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING))
+        if (pi.equals(InvocationResponse.CONTINUE))
         {
           if (msgContext.isServerSide()) {
 
@@ -616,11 +617,11 @@
     /**
      * Resume processing of a message.
      * @param msgctx
-     * @return An InvocationProcessingInstruction allowing the invoker to perhaps determine
+     * @return An InvocationResponse allowing the invoker to perhaps determine
      *         whether or not the message processing will ever succeed.
      * @throws AxisFault
      */
-    public InvocationProcessingInstruction resume(MessageContext msgctx) throws AxisFault {
+    public InvocationResponse resume(MessageContext msgctx) throws AxisFault {
         msgctx.setPaused(false);
         if (msgctx.getFLOW() == MessageContext.IN_FLOW) {
             return resumeReceive(msgctx);
@@ -652,9 +653,9 @@
                 .getAxisConfiguration().getGlobalOutPhases().clone());
         msgContext.setExecutionChain(outPhases);
         msgContext.setFLOW(MessageContext.OUT_FLOW);
-        InvocationProcessingInstruction pi = invoke(msgContext);
+        InvocationResponse pi = invoke(msgContext);
 
-        if (pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING)) {
+        if (pi.equals(InvocationResponse.CONTINUE)) {
 
             // write the Message to the Wire
             TransportOutDescription transportOut = msgContext.getTransportOut();
@@ -685,7 +686,7 @@
     public void sendFault(MessageContext msgContext) throws AxisFault {
         OperationContext opContext = msgContext.getOperationContext();
 
-        InvocationProcessingInstruction pi = InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        InvocationResponse pi = InvocationResponse.CONTINUE;
         
         // find and execute the Fault Out Flow Handlers
         if (opContext != null) {
@@ -701,7 +702,7 @@
             pi = invoke(msgContext);
         }
 
-        if (pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING)) {
+        if (pi.equals(InvocationResponse.CONTINUE)) {
             msgContext.setExecutionChain(
                     (ArrayList) msgContext.getConfigurationContext()
                             .getAxisConfiguration().getOutFaultFlow().clone());

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Handler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Handler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Handler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Handler.java Wed Oct 25 21:43:43 2006
@@ -26,7 +26,6 @@
  * Interface Handler
  */
 public interface Handler {
-
     /**
      * Since this might change the whole behavior of Axis2 handlers, and since this is still under discussion 
      * (http://marc.theaimsgroup.com/?l=axis-dev&m=114504084929285&w=2) implementation of this method is deferred.
@@ -51,11 +50,11 @@
      *
      * @param msgContext the <code>MessageContext</code> to process with this
      *                   <code>Handler</code>.
-     * @return An InvocationProcessingInstruction that indicates what
+     * @return An InvocationResponse that indicates what
      *         the next step in the message processing should be.
      * @throws AxisFault if the handler encounters an error
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault;
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault;
 
     /**
      * Gets the HandlerDescription of a handler. This is used as an input to get phaseRule of a handler.
@@ -78,4 +77,35 @@
      * @return Returns Parameter.
      */
     public Parameter getParameter(String name);
+    
+    /**
+     * This type encapsulates an enumeration of possible message processing
+     * instruction values that may be returned by a handler/phase within the
+     * runtime.  The returned instruction will determine the next step in
+     * the processing.
+     */
+    public class InvocationResponse
+    {
+      public static InvocationResponse CONTINUE = new InvocationResponse(0);
+      public static InvocationResponse SUSPEND = new InvocationResponse(1);
+      public static InvocationResponse ABORT = new InvocationResponse(2);
+
+      private int instructionID;
+        
+      private InvocationResponse(int instructionID)
+      {
+        this.instructionID = instructionID;
+      }
+        
+      public boolean equals(InvocationResponse instruction)
+      {
+        return this.instructionID == instruction.instructionID;
+      }
+        
+      public int hashCode()
+      {
+        return instructionID;
+      }
+    }
+    
 }

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/InstanceDispatcher.java Wed Oct 25 21:43:43 2006
@@ -46,7 +46,7 @@
      * @param msgContext
      * @throws org.apache.axis2.AxisFault
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         ServiceContext serviceContext = msgContext.getServiceContext();
 
         if ((msgContext.getOperationContext() != null)
@@ -54,7 +54,7 @@
             msgContext.setServiceGroupContextId(
                     ((ServiceGroupContext) serviceContext.getParent()).getId());
 
-            return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+            return InvocationResponse.CONTINUE;        
         }
 
         // try to extract sgcId from the message
@@ -67,7 +67,7 @@
 
         // 1. look up opCtxt using mc.addressingHeaders.relatesTo[0]
         if (axisOperation == null) {
-          return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+          return InvocationResponse.CONTINUE;        
         }
 
         OperationContext operationContext =
@@ -105,7 +105,7 @@
         if (serviceContext != null) {
             serviceContext.setMyEPR(msgContext.getTo());
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     private void fillContextsFromSessionContext(MessageContext msgContext) throws AxisFault {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Phase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Phase.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Phase.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/Phase.java Wed Oct 25 21:43:43 2006
@@ -350,17 +350,17 @@
      * invokes all the handlers in this Phase
      *
      * @param msgctx
-     * @return An InvocationProcessingInstruction that indicates what
+     * @return An InvocationResponse that indicates what
      *         the next step in the message processing should be.
      * @throws org.apache.axis2.AxisFault
      */
-    public final InvocationProcessingInstruction invoke(MessageContext msgctx) throws AxisFault {
+    public final InvocationResponse invoke(MessageContext msgctx) throws AxisFault {
         boolean isDebugEnabled = log.isDebugEnabled();
         if (isDebugEnabled) {
             log.debug("Checking pre-condition for Phase \"" + phaseName + "\"");
         }
         
-        InvocationProcessingInstruction pi = InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        InvocationResponse pi = InvocationResponse.CONTINUE;
 
         int currentIndex = msgctx.getCurrentPhaseIndex();
 
@@ -380,7 +380,7 @@
             }
             pi = handler.invoke(msgctx);
 
-            if (!pi.equals(InvocationProcessingInstruction.CONTINUE_PROCESSING))
+            if (!pi.equals(InvocationResponse.CONTINUE))
             {
               return pi;
             }

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/AbstractTransportSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/AbstractTransportSender.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/AbstractTransportSender.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/AbstractTransportSender.java Wed Oct 25 21:43:43 2006
@@ -28,7 +28,6 @@
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.http.HTTPTransportUtils;
@@ -72,7 +71,7 @@
      * @param msgContext
      * @throws AxisFault
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
 
         // Check for the REST behaviour, if you desire rest beahaviour
         // put a <parameter name="doREST" value="true"/> at the axis2.xml
@@ -118,7 +117,7 @@
             msgContext.getOperationContext().setProperty(Constants.RESPONSE_WRITTEN,
                     Constants.VALUE_TRUE);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     protected abstract OutputStream openTheConnection(EndpointReference epr, MessageContext msgctx)

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java Wed Oct 25 21:43:43 2006
@@ -30,7 +30,6 @@
 import org.apache.axis2.context.OperationContext;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.transport.OutTransportInfo;
 import org.apache.axis2.transport.TransportSender;
@@ -137,7 +136,7 @@
     }
 
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         try {
             OMOutputFormat format = new OMOutputFormat();
             String charSetEnc =
@@ -225,7 +224,7 @@
         } catch (IOException e) {
             throw new AxisFault(e);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;
     }
 
     private void sendUsingOutputStream(MessageContext msgContext,

Modified: webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/jms/JMSSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/jms/JMSSender.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/jms/JMSSender.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/jms/JMSSender.java Wed Oct 25 21:43:43 2006
@@ -23,7 +23,6 @@
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.TransportOutDescription;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.transport.TransportSender;
 import org.apache.commons.logging.Log;
@@ -45,7 +44,7 @@
      * @param msgContext the message context to be sent
      * @throws AxisFault on exception
      */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
 
         log.debug("JMSSender invoke()");
 
@@ -68,7 +67,7 @@
             }
             else {
                 //Don't send the message.
-              return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+              return InvocationResponse.CONTINUE;        
             }
         }
         else if (msgContext.isServerSide()){
@@ -173,7 +172,7 @@
                 } catch (JMSException e) {} // ignore
             }
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void cleanup(MessageContext msgContext) throws AxisFault {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/ModuleHandler1.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/ModuleHandler1.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/ModuleHandler1.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/ModuleHandler1.java Wed Oct 25 21:43:43 2006
@@ -2,7 +2,6 @@
 
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -36,9 +35,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/deployment/SpeakingHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/deployment/SpeakingHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/deployment/SpeakingHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/deployment/SpeakingHandler.java Wed Oct 25 21:43:43 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -38,9 +37,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/RegistryTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/RegistryTest.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/RegistryTest.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/RegistryTest.java Wed Oct 25 21:43:43 2006
@@ -21,7 +21,6 @@
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.AxisConfiguration;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 
 import javax.xml.namespace.QName;
@@ -84,8 +83,8 @@
         Handler handler = new AbstractHandler() {
             private static final long serialVersionUID = 196289132377245632L;
 
-			public InvocationProcessingInstruction invoke(MessageContext msgContext)  {
-                return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+			public InvocationResponse invoke(MessageContext msgContext)  {
+                return InvocationResponse.CONTINUE;        
             }
         };
         handler.init(new HandlerDescription());

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler.java Wed Oct 25 21:43:43 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -37,10 +36,10 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws
+    public InvocationResponse invoke(MessageContext msgContext) throws
             AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler1.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler1.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler1.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/description/SpeakingHandler1.java Wed Oct 25 21:43:43 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -37,9 +36,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/engine/EnginePausingTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/engine/EnginePausingTest.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/engine/EnginePausingTest.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/engine/EnginePausingTest.java Wed Oct 25 21:43:43 2006
@@ -192,14 +192,14 @@
             init(new HandlerDescription("handler" + index));
         }
 
-        public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+        public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
             if (pause) {
                 msgContext.pause();
                 pause = false;
-                return InvocationProcessingInstruction.SUSPEND_PROCESSING;        
+                return InvocationResponse.SUSPEND;        
             } else {
                 executedHandlers.add(index);
-                return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+                return InvocationResponse.CONTINUE;        
             }
         }
 

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/handlers/Handler2.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/handlers/Handler2.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/handlers/Handler2.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/handlers/Handler2.java Wed Oct 25 21:43:43 2006
@@ -3,7 +3,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 /*
@@ -36,9 +35,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/phaserule/PhaseRuleHandlers.java Wed Oct 25 21:43:43 2006
@@ -20,7 +20,6 @@
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -34,9 +33,9 @@
 	private static final Log log = LogFactory.getLog(PhaseRuleHandlers.class);
     private QName name;
   
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + name + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/registry/Handler3.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/registry/Handler3.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/registry/Handler3.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/registry/Handler3.java Wed Oct 25 21:43:43 2006
@@ -3,7 +3,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -39,9 +38,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("I am " + message + " Handler Running :)");
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/sample/handlers/LoggingHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/sample/handlers/LoggingHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/sample/handlers/LoggingHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/kernel/test/org/apache/axis2/sample/handlers/LoggingHandler.java Wed Oct 25 21:43:43 2006
@@ -2,7 +2,6 @@
 
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -29,9 +28,9 @@
     
 	private static final Log log = LogFactory.getLog(LoggingHandler.class);
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info("Incoming message From " + msgContext.getTo().getAddress());
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/samples/src/userguide/loggingmodule/LogHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/src/userguide/loggingmodule/LogHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/src/userguide/loggingmodule/LogHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/src/userguide/loggingmodule/LogHandler.java Wed Oct 25 21:43:43 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -34,9 +33,9 @@
         return name;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         log.info(msgContext.getEnvelope().toString());
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public void revoke(MessageContext msgContext) {

Modified: webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanInHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanInHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanInHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanInHandler.java Wed Oct 25 21:43:43 2006
@@ -21,7 +21,6 @@
 import org.apache.axis2.context.MessageContext;
 import org.apache.axis2.description.AxisService;
 import org.apache.axis2.description.Parameter;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.savan.SavanConstants;
 import org.apache.savan.SavanException;
@@ -40,7 +39,7 @@
  */
 public class SavanInHandler extends AbstractHandler  {
 
-	public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+	public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
 		
 		SavanMessageContext smc = new SavanMessageContext (msgContext);
 		
@@ -73,7 +72,7 @@
 		} else if (messageType==SavanConstants.MessageTypes.RENEW_MESSAGE) {
 			processor.renewSubscription(smc);
 		}
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
 	}
 	
 	private void setSubscriberStore (SavanMessageContext smc) throws SavanException {

Modified: webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanOutHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanOutHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanOutHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/savan/src/org/apache/savan/handlers/SavanOutHandler.java Wed Oct 25 21:43:43 2006
@@ -21,7 +21,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -43,7 +42,7 @@
 
 	Log log = LogFactory.getLog(SavanOutHandler.class);
 	
-	public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+	public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
 
 		SavanMessageContext smc = new SavanMessageContext (msgContext);
 		int messagetype = smc.getMessageType();
@@ -80,9 +79,9 @@
 			}
 			
             msgContext.pause();
-            return InvocationProcessingInstruction.SUSPEND_PROCESSING;        
+            return InvocationResponse.SUSPEND;        
 		}
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
 
 	}
 

Modified: webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartReceiver.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartReceiver.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartReceiver.java (original)
+++ webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartReceiver.java Wed Oct 25 21:43:43 2006
@@ -25,7 +25,6 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.rampart.RampartEngine;
 import org.apache.rampart.RampartException;
 import org.apache.rampart.util.Axis2Util;
@@ -63,10 +62,10 @@
         this.handlerDesc = handlerdesc;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         
         if (!msgContext.isEngaged(new QName(WSSHandlerConstants.SECURITY_MODULE_NAME))) {
-          return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+          return InvocationResponse.CONTINUE;        
         }
         
         RampartEngine engine = new RampartEngine();
@@ -90,7 +89,7 @@
         }
         
         if(wsResult == null) {
-          return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+          return InvocationResponse.CONTINUE;        
         }
         
         Vector results = null;
@@ -124,7 +123,7 @@
         }
 
         headerBlock.setProcessed();
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
 
     }
 

Modified: webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartSender.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartSender.java (original)
+++ webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/RampartSender.java Wed Oct 25 21:43:43 2006
@@ -21,7 +21,6 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.rampart.MessageBuilder;
 import org.apache.rampart.RampartException;
 import org.apache.ws.secpolicy.WSSPolicyException;
@@ -49,10 +48,10 @@
         this.handlerDesc = handlerdesc;
     }
 
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         
         if (!msgContext.isEngaged(new QName(WSSHandlerConstants.SECURITY_MODULE_NAME))) {
-          return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+          return InvocationResponse.CONTINUE;        
         }
         
         MessageBuilder builder = new MessageBuilder();
@@ -65,7 +64,7 @@
         } catch (RampartException e) {
             throw new AxisFault(e.getMessage(), e);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     public HandlerDescription getHandlerDesc() {

Modified: webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/WSDoAllHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/WSDoAllHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/WSDoAllHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/security/src/org/apache/rampart/handler/WSDoAllHandler.java Wed Oct 25 21:43:43 2006
@@ -21,7 +21,6 @@
 import org.apache.axis2.description.HandlerDescription;
 import org.apache.axis2.description.Parameter;
 import org.apache.axis2.engine.Handler;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.rampart.util.Axis2Util;
 import org.apache.ws.security.handler.WSHandler;
 
@@ -68,13 +67,13 @@
     /* (non-Javadoc)
     * @see org.apache.axis2.engine.Handler#invoke(org.apache.axis2.context.MessageContext)
     */
-    public InvocationProcessingInstruction invoke(MessageContext msgContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext msgContext) throws AxisFault {
         //If the security module is not engaged for this service
         //do not do any processing
         if (msgContext.isEngaged(new QName(WSSHandlerConstants.SECURITY_MODULE_NAME))) {
             this.processMessage(msgContext);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;        
+        return InvocationResponse.CONTINUE;        
     }
 
     /**

Modified: webservices/axis2/branches/java/1_1/modules/soapmonitor/src/org/apache/axis2/handlers/soapmonitor/SOAPMonitorHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/soapmonitor/src/org/apache/axis2/handlers/soapmonitor/SOAPMonitorHandler.java?view=diff&rev=467860&r1=467859&r2=467860
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/soapmonitor/src/org/apache/axis2/handlers/soapmonitor/SOAPMonitorHandler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/soapmonitor/src/org/apache/axis2/handlers/soapmonitor/SOAPMonitorHandler.java Wed Oct 25 21:43:43 2006
@@ -19,7 +19,6 @@
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.context.MessageContext;
-import org.apache.axis2.engine.InvocationProcessingInstruction;
 import org.apache.axis2.handlers.AbstractHandler;
 import org.apache.axis2.soapmonitor.servlet.SOAPMonitorConstants;
 import org.apache.axis2.soapmonitor.servlet.SOAPMonitorService;
@@ -52,7 +51,7 @@
     /**
      * Process and SOAP message
      */
-    public InvocationProcessingInstruction invoke(MessageContext messageContext) throws AxisFault {
+    public InvocationResponse invoke(MessageContext messageContext) throws AxisFault {
 
         EndpointReference ref = null;
 
@@ -103,7 +102,7 @@
         if ((id != null) && (soap != null)) {
             SOAPMonitorService.publishMessage(id, type, target, soap);
         }
-        return InvocationProcessingInstruction.CONTINUE_PROCESSING;
+        return InvocationResponse.CONTINUE;
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message