axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prad...@apache.org
Subject svn commit: r684807 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/JavaDispatcher.java
Date Mon, 11 Aug 2008 16:46:00 GMT
Author: pradine
Date: Mon Aug 11 09:45:58 2008
New Revision: 684807

URL: http://svn.apache.org/viewvc?rev=684807&view=rev
Log:
Don't set the WS-Addressing action if the value is null.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/JavaDispatcher.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/JavaDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/JavaDispatcher.java?rev=684807&r1=684806&r2=684807&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/JavaDispatcher.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/dispatcher/JavaDispatcher.java
Mon Aug 11 09:45:58 2008
@@ -231,7 +231,9 @@
          if (operation != null) {
              exception = ClassUtils.getRootCause(exception);        
              String action = operation.getFaultAction(exception.getClass().getName());
-             response.getAxisMessageContext().setWSAAction(action);
+             
+             if (action != null)
+                 response.getAxisMessageContext().setWSAAction(action);
          }
     }
     



Mime
View raw message