axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamej...@apache.org
Subject svn commit: r331990 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_shortClient.cpp
Date Wed, 09 Nov 2005 07:45:05 GMT
Author: jamejose
Date: Tue Nov  8 23:44:54 2005
New Revision: 331990

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

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

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_shortClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_shortClient.cpp?rev=331990&r1=331989&r2=331990&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_shortClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_shortClient.cpp Tue
Nov  8 23:44:54 2005
@@ -113,7 +113,7 @@
         // Test array
         xsd__short_Array arrayInput;
 		int arraySize=2;
-		xsd__short ** array = new xsd__short*[arraySize]();
+		xsd__short ** array = new xsd__short*[arraySize];
         
         for (int inputIndex=0 ; inputIndex < arraySize ; inputIndex++)
         {
@@ -121,9 +121,9 @@
           
         }
 		arrayInput.set(array,arraySize);
-        xsd__short_Array arrayResult = ws->asArray(arrayInput);
+        xsd__short_Array* arrayResult = ws->asArray(&arrayInput);
 		int outputSize=0;
-		const xsd__short ** output = arrayResult.get(outputSize);
+		const xsd__short ** output = arrayResult->get(outputSize);
         cout << "array of " << outputSize << " elements" << endl;
         for (int index = 0; index < outputSize ; index++)
         {



Mime
View raw message