cxf-commits mailing list archives

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

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

........
  r1331090 | dkulp | 2012-04-26 17:05:07 -0400 (Thu, 26 Apr 2012) | 11 lines

  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.4.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java

Modified: cxf/branches/2.4.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java?rev=1331095&r1=1331094&r2=1331095&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Thu Apr 26 21:07:38 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