You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ke...@apache.org on 2007/10/25 11:12:06 UTC

svn commit: r588172 - /webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/util/WSDLSerializationUtil.java

Author: keithc
Date: Thu Oct 25 02:12:05 2007
New Revision: 588172

URL: http://svn.apache.org/viewvc?rev=588172&view=rev
Log:
Avoid inserting wsaw action when its empty


Modified:
    webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/util/WSDLSerializationUtil.java

Modified: webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/util/WSDLSerializationUtil.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/util/WSDLSerializationUtil.java?rev=588172&r1=588171&r2=588172&view=diff
==============================================================================
--- webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/util/WSDLSerializationUtil.java (original)
+++ webservices/axis2/branches/java/1_3_post_mods/modules/kernel/src/org/apache/axis2/util/WSDLSerializationUtil.java Thu Oct 25 02:12:05 2007
@@ -421,7 +421,7 @@
     public static void addWSAWActionAttribute(OMElement element,
                                               String action ,
                                               OMNamespace wsaw) {
-        if (action == null || action.length() == 0) {
+        if (action == null || action.length() == 0 || "\\\"\\\"".equals(action)) {
             return;
         }
         element.addAttribute("Action", action, wsaw);



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