You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/09/01 12:48:45 UTC
svn commit: r439267 -
/webservices/axis2/trunk/java/modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingWSDLValidationHandler.java
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