You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ja...@apache.org on 2005/11/09 09:34:45 UTC
svn commit: r332001 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedByteClient.cpp
Author: jamejose
Date: Wed Nov 9 00:33:10 2005
New Revision: 332001
URL: http://svn.apache.org/viewcvs?rev=332001&view=rev
Log: (empty)
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedByteClient.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedByteClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedByteClient.cpp?rev=332001&r1=332000&r2=332001&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedByteClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/XSD_unsignedByteClient.cpp Wed Nov 9 00:33:10 2005
@@ -108,7 +108,7 @@
// Test array
xsd__unsignedByte_Array arrayInput;
int arraySize=2;
- xsd__unsignedByte ** array = new xsd__unsignedByte*[arraySize]();
+ xsd__unsignedByte ** array = new xsd__unsignedByte*[arraySize];
for (int inputIndex=0 ; inputIndex < arraySize ; inputIndex++)
{
@@ -116,9 +116,9 @@
}
arrayInput.set(array,arraySize);
- xsd__unsignedByte_Array arrayResult = ws->asArray(arrayInput);
+ xsd__unsignedByte_Array* arrayResult = ws->asArray(&arrayInput);
int outputSize=0;
- const xsd__unsignedByte ** output = arrayResult.get(outputSize);
+ const xsd__unsignedByte ** output = arrayResult->get(outputSize);
cout << "array of " << outputSize << " elements" << endl;
for (int index = 0; index < outputSize ; index++)
{