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 sa...@apache.org on 2004/08/04 15:28:33 UTC
cvs commit: ws-axis/c/samples/server/interoptests/cgroupB InteropTestPortTypeB.c
sanjaya 2004/08/04 06:28:33
Modified: c/samples/server/interoptests/cgroupB Tag:
NamespaceTesting_branch InteropTestPortTypeB.c
Log:
Changed the parameter orders of cgroupb hand written server side sample
to conform with WSDL2Ws changes
Revision Changes Path
No revision
No revision
1.2.12.1 +6 -6 ws-axis/c/samples/server/interoptests/cgroupB/InteropTestPortTypeB.c
Index: InteropTestPortTypeB.c
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/interoptests/cgroupB/InteropTestPortTypeB.c,v
retrieving revision 1.2
retrieving revision 1.2.12.1
diff -u -r1.2 -r1.2.12.1
--- InteropTestPortTypeB.c 2 Apr 2004 04:12:48 -0000 1.2
+++ InteropTestPortTypeB.c 4 Aug 2004 13:28:33 -0000 1.2.12.1
@@ -9,18 +9,18 @@
#include "SOAPStructStruct.h"
-void echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM float *OutValue0, AXIS_OUT_PARAM int *OutValue1, AXIS_OUT_PARAM xsd__string *OutValue2)
+void echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM xsd__string *OutValue0, AXIS_OUT_PARAM int *OutValue1, AXIS_OUT_PARAM float *OutValue2)
{
- *OutValue0 = Value0->varFloat;
+ *OutValue0 = Value0->varString;
*OutValue1 = Value0->varInt;
- *OutValue2 = Value0->varString;
+ *OutValue2 = Value0->varFloat;
}
-SOAPStruct* echoSimpleTypesAsStruct(float Value0,int Value1,xsd__string Value2)
+SOAPStruct* echoSimpleTypesAsStruct(xsd__string Value0,int Value1, float Value2)
{
SOAPStruct* pRet = (SOAPStruct*) malloc(sizeof(SOAPStruct));
- pRet->varFloat = Value0;
+ pRet->varString = Value0;
pRet->varInt = Value1;
- pRet->varString = Value2;
+ pRet->varFloat = Value2;
return pRet;
}
SOAPStructStruct* echoNestedStruct(SOAPStructStruct* Value0)