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/15 06:51:01 UTC
svn commit: r344317 -
/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp
Author: jamejose
Date: Mon Nov 14 21:50:35 2005
New Revision: 344317
URL: http://svn.apache.org/viewcvs?rev=344317&view=rev
Log:
Updated the testcase with new Array APIs
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp?rev=344317&r1=344316&r2=344317&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/client/cpp/SameComplexTypeAndElementNameClient.cpp Mon Nov 14 21:50:35 2005
@@ -33,18 +33,19 @@
SampleBeanBoolean * pSBB = new SampleBeanBoolean();
SampleBeanComplex * pSBC = new SampleBeanComplex();
- pSBB->SampleBean.m_Array = NULL;
- pSBB->SampleBean.m_Size = 0;
- pSBB->SampleBeanBoolean_ = false_;
-
- pWS->aBeanPortTypeBase( pSBB);
-
+ SampleBeanComplex_Array BBArrayIn;
+ SampleBeanComplex ** BBArray = NULL;
+ BBArrayIn.set(BBArray,0);
+ pSBB->setSampleBean(&BBArrayIn);
+
+ pWS->aBeanPortTypeBase( pSBB);
cout << "Called aBeanPortTypeBase()" << endl;
- pSBC->SampleBeanComplex_Ref.m_Array = NULL;
- pSBC->SampleBeanComplex_Ref.m_Size = 0;
- pSBC->Boolean = false_;
-
+ SampleBeanComplex_Array BCArrayIn;
+ SampleBeanComplex ** BCArray = NULL;
+ BCArrayIn.set(BCArray,0);
+
+ pSBC->setSampleBeanComplex_Ref(&BCArrayIn);
pWS->aBeanPortTypeComplex( pSBC);
cout << "Called aBeanPortTypeComplex()" << endl;