You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ja...@apache.org on 2005/11/09 09:36:44 UTC

svn commit: r332003 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedLongClient.cpp

Author: jamejose
Date: Wed Nov  9 00:36:34 2005
New Revision: 332003

URL: http://svn.apache.org/viewcvs?rev=332003&view=rev
Log: (empty)

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedLongClient.cpp

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedLongClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedLongClient.cpp?rev=332003&r1=332002&r2=332003&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedLongClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedLongClient.cpp Wed Nov  9 00:36:34 2005
@@ -110,7 +110,7 @@
         // Test array
         xsd__unsignedLong_Array arrayInput;
 		int arraySize =2;
-		xsd__unsignedLong ** array = new xsd__unsignedLong*[arraySize]();
+		xsd__unsignedLong ** array = new xsd__unsignedLong*[arraySize];
         
         for (int inputIndex=0 ; inputIndex < arraySize ; inputIndex++)
         {
@@ -118,9 +118,9 @@
            
         }
 		arrayInput.set(array,arraySize);
-        xsd__unsignedLong_Array arrayResult = ws->asArray(arrayInput);
+        xsd__unsignedLong_Array* arrayResult = ws->asArray(&arrayInput);
 		int outputSize =0;
-		const xsd__unsignedLong ** output = arrayResult.get(outputSize);
+		const xsd__unsignedLong ** output = arrayResult->get(outputSize);
         cout << "array of " << outputSize << " elements" << endl;
         for (int index = 0; index < outputSize ; index++)
         {