axis-java-dev mailing list archives

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

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

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

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachmentFault.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachmentFault.cpp?rev=331707&r1=331706&r2=331707&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachmentFault.cpp
(original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachmentFault.cpp
Mon Nov  7 22:32:57 2005
@@ -74,10 +74,12 @@
 				//Calling webservice with multiple attachments.This call will results in a SOAP Fault

 				//Server will send fault message..
 				xsd__string_Array ret=ws.multiAttachment(NULL,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