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:35:50 UTC

svn commit: r332002 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedIntClient.cpp

Author: jamejose
Date: Wed Nov  9 00:35:37 2005
New Revision: 332002

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

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

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