axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r377731 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
Date Tue, 14 Feb 2006 14:06:53 GMT
Author: dicka
Date: Tue Feb 14 06:06:51 2006
New Revision: 377731

URL: http://svn.apache.org/viewcvs?rev=377731&view=rev
Log:
AXISCPP-149

Wrong variable name used in generated service wrapper code when deserializing xsd:string elements.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java?rev=377731&r1=377730&r2=377731&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
Tue Feb 14 06:06:51 2006
@@ -279,7 +279,7 @@
                                 + "\",0);\n");
                     		writer.write("\tif ( value" + i + " )\n");
                     		writer.write("\t{\n");
-                    		writer.write("\t\tv0 = new char[ strlen( value" + i + ") + 1 ];\n");
+                    		writer.write("\t\tv" + i + " = new char[ strlen( value" + i + ") +
1 ];\n");
                     		writer.write("\t\tstrcpy( v" + i + ", value" + i + ");\n");
                     		writer.write("\t\tAxis::AxisDelete( (void *) value" + i + ", " + CUtils.getXSDTypeForBasicType(paraTypeName)
+ " );\n");
                     		writer.write("\t}\n");



Mime
View raw message