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 du...@apache.org on 2005/10/06 11:55:03 UTC

svn commit: r306568 - /webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/InOut.cpp

Author: dushshantha
Date: Thu Oct  6 02:54:57 2005
New Revision: 306568

URL: http://svn.apache.org/viewcvs?rev=306568&view=rev
Log:
Service implementation for InOut test service to test simple and complex out params.

Modified:
    webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/InOut.cpp

Modified: webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/InOut.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/InOut.cpp?rev=306568&r1=306567&r2=306568&view=diff
==============================================================================
--- webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/InOut.cpp (original)
+++ webservices/axis/trunk/c/tests/auto_build/testcases/server/cpp/InOut.cpp Thu Oct  6 02:54:57 2005
@@ -46,6 +46,13 @@
 void InOut::multiParametersNoReturn(xsd__string Value0, xsd__int Value1, xsd__double Value2)  
 {
 }
+void InOut::multiParametersMultiReturn(xsd__string Value0,xsd__int Value1,xsd__double Value2, AXIS_OUT_PARAM xsd__string *OutValue0, AXIS_OUT_PARAM xsd__int *OutValue1, AXIS_OUT_PARAM xsd__double *OutValue2)  
+{
+	*OutValue0 = Value0;
+	*OutValue1 = Value1;
+	*OutValue2 = Value2;
+}
+
 ComplexType2* InOut::complexParameterComplexReturn(ComplexType2* Value0)  
 {
 	ComplexType2* outParam = new ComplexType2();
@@ -56,6 +63,16 @@
 {
 	return (Value3 + Value2 +1);
 }
+
+void InOut::multiComplexParametersMultiComplexReturn(xsd__string Value0,ComplexType1* Value1,xsd__int Value2,xsd__double Value3,xsd__string_Array Value4, AXIS_OUT_PARAM xsd__string *OutValue0, AXIS_OUT_PARAM ComplexType1* *OutValue1, AXIS_OUT_PARAM xsd__int *OutValue2, AXIS_OUT_PARAM xsd__double *OutValue3)  
+{
+	*OutValue0 = Value0;
+	*OutValue1 = Value1;
+	*OutValue2 = Value2;
+	*OutValue3 = Value3;
+
+}
+
 xsd__int InOut::multiComplexParametersNilIntReturn(xsd__string Value0, ComplexNilType1* Value1, xsd__int * Value2, xsd__double * Value3, xsd__string_Array Value4)  
 {
 	return 42;