axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r354321 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/WrapWriter.java
Date Tue, 06 Dec 2005 05:32:57 GMT
Author: dushshantha
Date: Mon Dec  5 21:32:48 2005
New Revision: 354321

URL: http://svn.apache.org/viewcvs?rev=354321&view=rev
Log:
Fixed server side wrapper generation problem regarding the new memory model for Arrays.

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=354321&r1=354320&r2=354321&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
Mon Dec  5 21:32:48 2005
@@ -237,11 +237,11 @@
                                 + i
                                 + " = ("
                                 + CUtils.getBasicArrayNameforType(containedType)
-                                + "&)pIWSDZ->getBasicArray("
+                                + "&)*(pIWSDZ->getBasicArray("
                                 + CUtils.getXSDTypeForBasicType(containedType)
                                 + ", \""
                                 + elementName
-                                + "\",0);\n");
+                                + "\",0));\n");
                     }
                     else
                     {
@@ -310,12 +310,12 @@
                                     + " = ("
                                     + CUtils.getBasicArrayNameforType(
                                         containedType)
-                                    + "&)pIWSDZ->getBasicArray("
+                                    + "&)*(pIWSDZ->getBasicArray("
                                     + CUtils.getXSDTypeForBasicType(
                                         containedType)
                                     + ", \""
                                     + elementName
-                                    + "\",0);\n");
+                                    + "\",0));\n");
                         }
                         else
                         {
@@ -332,12 +332,12 @@
                                         + " = ("
                                         + CUtils.getBasicArrayNameforType(
                                             containedType)
-                                        + "&)pIWSDZ->getBasicArray("
+                                        + "&)*(pIWSDZ->getBasicArray("
                                         + CUtils.getXSDTypeForBasicType(
                                             containedType)
                                         + ", \""
                                         + elementName
-                                        + "\",0);\n");
+                                        + "\",0));\n");
                             }
                             else
                             {



Mime
View raw message