cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r608244 - in /incubator/cxf/branches/2.0.x-fixes: ./ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionOutInterceptor.java
Date Wed, 02 Jan 2008 21:49:59 GMT
Author: dkulp
Date: Wed Jan  2 13:49:59 2008
New Revision: 608244

URL: http://svn.apache.org/viewvc?rev=608244&view=rev
Log:
Merged revisions 606119 via svnmerge from 
https://svn.apache.org/repos/asf/incubator/cxf/trunk

........
  r606119 | mmao | 2007-12-21 02:07:44 -0500 (Fri, 21 Dec 2007) | 3 lines
  
  * SOAPAction in Http headers should be quoted anyway
........

Modified:
    incubator/cxf/branches/2.0.x-fixes/   (props changed)
    incubator/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionOutInterceptor.java

Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: incubator/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionOutInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionOutInterceptor.java?rev=608244&r1=608243&r2=608244&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionOutInterceptor.java
(original)
+++ incubator/cxf/branches/2.0.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/SoapActionOutInterceptor.java
Wed Jan  2 13:49:59 2008
@@ -92,10 +92,11 @@
             } else {
                 SoapOperationInfo soi = (SoapOperationInfo) boi.getExtensor(SoapOperationInfo.class);
                 action = soi == null ? "\"\"" : soi.getAction() == null ? "\"\"" : soi.getAction();
-                if (!action.startsWith("\"")) {
-                    action = new StringBuffer().append("\"").append(action).append("\"").toString();
-                }
             }
+        }
+        
+        if (!action.startsWith("\"")) {
+            action = new StringBuffer().append("\"").append(action).append("\"").toString();
         }
         
         return action;



Mime
View raw message