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 08:41:26 UTC

svn commit: r331986 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_negativeIntegerClient.cpp

Author: jamejose
Date: Tue Nov  8 23:41:15 2005
New Revision: 331986

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

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

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