axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamej...@apache.org
Subject svn commit: r331706 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachment.cpp
Date Tue, 08 Nov 2005 06:32:41 GMT
Author: jamejose
Date: Mon Nov  7 22:32:13 2005
New Revision: 331706

URL: http://svn.apache.org/viewcvs?rev=331706&view=rev
Log:
Updated the testcase with new memory model for arrays

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

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachment.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachment.cpp?rev=331706&r1=331705&r2=331706&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachment.cpp
(original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachment.cpp
Mon Nov  7 22:32:13 2005
@@ -70,10 +70,12 @@
 				att3->addBody(&b64b1);
 				//Calling webservice with multiple attachments
 				xsd__string_Array ret=ws.multiAttachment(att,att1,att2,att3);
-				cout<<ret.m_Array[0]<<endl;
-				cout<<ret.m_Array[1]<<endl;
-				cout<<ret.m_Array[2]<<endl;
-				cout<<ret.m_Array[3]<<endl;			    			
+				int outputsize=0;
+				const xsd__string * array=ret.get(outputsize);
+				cout << array[0]<<endl;
+				cout << array[1]<<endl;
+				cout << array[2]<<endl;
+				cout << array[3]<<endl;		    			
 			    bSuccess = true;
 			}	
 	catch(AxisException& e)



Mime
View raw message