cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1331090 - /cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Date Thu, 26 Apr 2012 21:05:07 GMT
Author: dkulp
Date: Thu Apr 26 21:05:07 2012
New Revision: 1331090

URL: http://svn.apache.org/viewvc?rev=1331090&view=rev
Log:
Merged revisions 1331085 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1331085 | dkulp | 2012-04-26 17:01:45 -0400 (Thu, 26 Apr 2012) | 3 lines

  [CXF-4269] Make sure the prefix for the RPC wrapper element is mapped
  and declared prior to writing out the prefixes.

........

Modified:
    cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java

Modified: cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java?rev=1331090&r1=1331089&r2=1331090&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Thu Apr 26 21:05:07 2012
@@ -583,8 +583,12 @@ public class ServiceJavascriptBuilder ex
                                  + "]);");
                 px++;
             }
+        } else if (isRPC) {
+            //make sure the rpc element has a valid prefix
+            prefixAccumulator.xmlElementString(currentOperation.getName());
         }
 
+
         if (soapBindingInfo != null) {
             SoapVersion soapVersion = soapBindingInfo.getSoapVersion();
             assert soapVersion.getVersion() == 1.1;



Mime
View raw message