cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1331085 - /cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Date Thu, 26 Apr 2012 21:01:46 GMT
Author: dkulp
Date: Thu Apr 26 21:01:45 2012
New Revision: 1331085

URL: http://svn.apache.org/viewvc?rev=1331085&view=rev
Log:
[CXF-4269] Make sure the prefix for the RPC wrapper element is mapped
and declared prior to writing out the prefixes.

Modified:
    cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java

Modified: cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java?rev=1331085&r1=1331084&r2=1331085&view=diff
==============================================================================
--- cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
(original)
+++ cxf/trunk/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Thu Apr 26 21:01:45 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