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:42:24 UTC

svn commit: r331987 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonNegativeIntegerClient.cpp

Author: jamejose
Date: Tue Nov  8 23:42:12 2005
New Revision: 331987

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

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

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