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 cm...@apache.org on 2005/12/14 06:19:17 UTC

svn commit: r356736 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceArrayChildClient.cpp

Author: cmanohar
Date: Tue Dec 13 21:19:09 2005
New Revision: 356736

URL: http://svn.apache.org/viewcvs?rev=356736&view=rev
Log:
Commiting after modifying

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

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceArrayChildClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceArrayChildClient.cpp?rev=356736&r1=356735&r2=356736&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceArrayChildClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/ComplexTypeChoiceArrayChildClient.cpp Tue Dec 13 21:19:09 2005
@@ -58,14 +58,14 @@
 	xsd__int **array = new xsd__int*[3];
 	array[0]=new xsd__int(5);
 	array[1]=new xsd__int(6);
-	array[3]=new xsd__int(7);
+	array[2]=new xsd__int(7);
 	arrayIn.set(array,3);
 	simpleArray1->setintArray(&arrayIn);	
     SimpleComplexType1* input = new SimpleComplexType1();
 
     input->arrayElement = simpleArray1;
-   // input->field2 = "I'm still here!";
-   // input->field3 = new xsd__int(123);
+    //input->field2 = "I'm still here!";
+    //input->field3 = new xsd__int(123);
 
     SimpleComplexType1* result = NULL;
     result = ws->asComplexType(input);
@@ -74,7 +74,9 @@
 
 	cout << "Array Size = " << outputSize << endl; 
 
-	cout << "First element in Array =" << *arrayOut[0] << endl;
+	cout << "First element in Array = " << *arrayOut[0] << endl;
+	cout << "Second element in Array = " << *arrayOut[1] << endl;
+	cout << "Third element in Array = " << *arrayOut[2] << endl;
 	
 	bSuccess = true;