axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r439267 - /webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
Date Fri, 01 Sep 2006 10:48:45 GMT
Author: davidillsley
Date: Fri Sep  1 03:48:44 2006
New Revision: 439267

URL: http://svn.apache.org/viewvc?rev=439267&view=rev
Log:
Fix NPE when AxisOperation is null

Modified:
    webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java

Modified: webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java?rev=439267&r1=439266&r2=439267&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
(original)
+++ webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
Fri Sep  1 03:48:44 2006
@@ -34,13 +34,13 @@
      * @see org.apache.axis2.engine.Handler#invoke(org.apache.axis2.context.MessageContext)
      */
     public void 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);
         // Check that if wsaddressing=required that addressing headers were found inbound
         checkUsingAddressing(msgContext);
         // Check that if anonymous flag is in effect that the replyto and faultto are valid
         checkAnonymous(msgContext);
-        // If no AxisOperation has been found at the end of the dispatch phase and addressing
-        // is in use we should throw and ActionNotSupported Fault
-        checkAction(msgContext);
     }
     
     /**



---------------------------------------------------------------------
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