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/08 07:32:41 UTC
svn commit: r331706 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/AttMultiAttachment.cpp
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)