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:44:16 UTC

svn commit: r331989 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_positiveIntegerClient.cpp

Author: jamejose
Date: Tue Nov  8 23:44:05 2005
New Revision: 331989

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

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

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