You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ja...@apache.org on 2006/03/15 10:19:40 UTC
svn commit: r386008 -
/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp
Author: jamejose
Date: Wed Mar 15 01:19:38 2006
New Revision: 386008
URL: http://svn.apache.org/viewcvs?rev=386008&view=rev
Log:
Updated the service implementation code
Modified:
webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp
Modified: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp?rev=386008&r1=386007&r2=386008&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp Wed Mar 15 01:19:38 2006
@@ -35,8 +35,18 @@
{
}
-Type1* SimpleTypeInnerUnboundedInOutputWS::getInput(xsd__int *Value0)
+Type1* SimpleTypeInnerUnboundedInOutputWS::getInput(xsd__int * Value0)
{
- Type1* ret=new Type1();
- return ret;
+ Type1 *retValue=new Type1();
+ _Type1_ident_Array ident;
+ _Type1_ident * array=new _Type1_ident[*Value0];
+ char *buff=new char[4];
+ for(int i=0;i<*Value0;i++){
+ array[i]=new char[4];
+ sprintf(buff,"%d",i);
+ strcpy(array[i],buff);
+ }
+ ident.set(array,*Value0);
+ retValue->setident(&ident);
+ return retValue;
}