axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamej...@apache.org
Subject svn commit: r331985 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_longClient.cpp
Date Wed, 09 Nov 2005 07:40:29 GMT
Author: jamejose
Date: Tue Nov  8 23:40:09 2005
New Revision: 331985

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

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

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



Mime
View raw message