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:43:27 UTC
svn commit: r331988 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonPositiveIntegerClient.cpp
Author: jamejose
Date: Tue Nov 8 23:43:16 2005
New Revision: 331988
URL: http://svn.apache.org/viewcvs?rev=331988&view=rev
Log: (empty)
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonPositiveIntegerClient.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonPositiveIntegerClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonPositiveIntegerClient.cpp?rev=331988&r1=331987&r2=331988&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonPositiveIntegerClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_nonPositiveIntegerClient.cpp Tue Nov 8 23:43:16 2005
@@ -116,7 +116,7 @@
// Test array
xsd__nonPositiveInteger_Array arrayInput;
int arraySize=2;
- xsd__nonPositiveInteger ** array = new xsd__nonPositiveInteger*[arraySize]();
+ xsd__nonPositiveInteger ** array = new xsd__nonPositiveInteger*[arraySize];
for (int inputIndex=0 ; inputIndex < arraySize ; inputIndex++)
{
@@ -124,9 +124,9 @@
}
arrayInput.set(array,arraySize);
- xsd__nonPositiveInteger_Array arrayResult = ws->asArray(arrayInput);
+ xsd__nonPositiveInteger_Array* arrayResult = ws->asArray(&arrayInput);
int outputSize=0;
- const xsd__nonPositiveInteger ** output = arrayResult.get(outputSize);
+ const xsd__nonPositiveInteger ** output = arrayResult->get(outputSize);
cout << "array of " << outputSize << " elements" << endl;
for (int index = 0; index < outputSize ; index++)
{