ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamej...@apache.org
Subject svn commit: r386008 - /webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/SimpleTypeInnerUnboundedInOutputWS.cpp
Date Wed, 15 Mar 2006 09:19:40 GMT
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;
 }



Mime
View raw message