axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r491192 - in /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp: WrapWriter.java literal/WrapWriter.java
Date Sat, 30 Dec 2006 08:24:37 GMT
Author: nadiramra
Date: Sat Dec 30 00:24:36 2006
New Revision: 491192

URL: http://svn.apache.org/viewvc?view=rev&rev=491192
Log:
AXISCPP-968 - array should not been deleted in generated code

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java
    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/WrapWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java?view=diff&rev=491192&r1=491191&r2=491192
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/WrapWriter.java Sat
Dec 30 00:24:36 2006
@@ -703,7 +703,6 @@
                                         + ", \""
                                         + returnParamName
                                         + "\");\n");
-                                writer.write("\t\tdelete out" + i + ";\n");
                             }
                             else
                             {
@@ -721,7 +720,6 @@
                                         + "\", Axis_URI_"
                                         + containedType
                                         + ");\n");
-                                writer.write("delete out" + i + ";\n");
                             }
                         }
                         else

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java?view=diff&rev=491192&r1=491191&r2=491192
==============================================================================
--- 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
Sat Dec 30 00:24:36 2006
@@ -518,7 +518,6 @@
                         writer.write("\tpIWSSZ->addOutputBasicArrayParam((Axis_Array*)(&out"
                                 + i + ")," + CUtils.getXSDTypeForBasicType( containedType)
                                 + ", \"" + returnParamName + "\");\n");
-                        writer.write("\tdelete out" + i + ";\n");
                     }
                     else if (arrayType.isSimpleType())
                     {
@@ -526,7 +525,6 @@
                         writer.write("\tpIWSSZ->addOutputBasicArrayParam((Axis_Array*)(&out"
                                 + i + ")," + CUtils.getXSDTypeForBasicType(containedType)
                                 + ", \"" + returnParamName + "\");\n");
-                        writer.write("\tdelete out" + i + ";\n");
                     }
                     else
                     {
@@ -535,7 +533,6 @@
                                 + "(void*) Axis_Serialize_" + containedType
                                 + ", (void*) Axis_Delete_" + containedType
                                 + ", \"" + returnParamName + "\", Axis_URI_" + containedType
+ ");\n");
-                        writer.write("\tdelete out" + i + ";\n");
                     }
                 }
                 else if (param.isAnyType())



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message