axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamej...@apache.org
Subject svn commit: r331708 - /webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiSameAttachment.cpp
Date Tue, 08 Nov 2005 06:33:29 GMT
Author: jamejose
Date: Mon Nov  7 22:33:18 2005
New Revision: 331708

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

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

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiSameAttachment.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiSameAttachment.cpp?rev=331708&r1=331707&r2=331708&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiSameAttachment.cpp
(original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiSameAttachment.cpp
Mon Nov  7 22:33:18 2005
@@ -65,10 +65,12 @@
 				att2->addBody(&b64b1);				
 				//Calling webservice with multiple attachments. Here same object is passed as argument
 				xsd__string_Array ret=ws.multiAttachment(att1,att1,att2,att1);
-				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