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

svn commit: r331980 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_floatClient.cpp

Author: jamejose
Date: Tue Nov  8 23:36:04 2005
New Revision: 331980

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

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

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_floatClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_floatClient.cpp?rev=331980&r1=331979&r2=331980&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_floatClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_floatClient.cpp Tue Nov  8 23:36:04 2005
@@ -112,16 +112,16 @@
 		// Test array
         xsd__float_Array arrayInput;
 		int arraySize=2;
-		xsd__float ** array = new xsd__float*[arraySize]();
+		xsd__float ** array = new xsd__float*[arraySize];
         
         for (int inputIndex=0 ; inputIndex < arraySize ; inputIndex++)
         {
             array[inputIndex] = new xsd__float(35.353588);
         }
 		arrayInput.set(array,arraySize);
-		xsd__float_Array arrayResult = ws->asArray(arrayInput);
+		xsd__float_Array* arrayResult = ws->asArray(&arrayInput);
 		int outputSize=0;
-		const xsd__float ** output = arrayResult.get(outputSize);
+		const xsd__float ** output = arrayResult->get(outputSize);
         cout << "array of " << outputSize << " elements" << endl;
 		for (int index = 0; index < outputSize ; index++)
 		{