axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamej...@apache.org
Subject svn commit: r331980 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_floatClient.cpp
Date Wed, 09 Nov 2005 07:36:27 GMT
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++)
 		{



Mime
View raw message