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 cd...@apache.org on 2005/08/26 08:11:54 UTC
cvs commit: ws-axis/c/samples/server/transportProperties Calculator.cpp
cdinapala 2005/08/25 23:11:54
Modified: c/samples/server/array SimpleTypeArrayWS.cpp
c/samples/server/base InteropTestPortType.cpp
c/samples/server/bench AxisBench.cpp
c/samples/server/calculator Calculator.cpp
c/samples/server/doclitfault MathOps.cpp
c/samples/server/element XSDElement.cpp
c/samples/server/enumeration EnumerationWS.cpp
c/samples/server/groupB InteropTestPortTypeB.cpp
c/samples/server/ref RefTestPortType.cpp
c/samples/server/rpcfault MathOps.cpp
c/samples/server/transportProperties Calculator.cpp
Log:
I have removed init() and fini() from the sample server stubs.
Revision Changes Path
1.2 +1 -12 ws-axis/c/samples/server/array/SimpleTypeArrayWS.cpp
Index: SimpleTypeArrayWS.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/array/SimpleTypeArrayWS.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SimpleTypeArrayWS.cpp 7 Apr 2005 09:56:37 -0000 1.1
+++ SimpleTypeArrayWS.cpp 26 Aug 2005 06:11:53 -0000 1.2
@@ -34,18 +34,7 @@
void SimpleTypeArrayWS::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void SimpleTypeArrayWS::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void SimpleTypeArrayWS::fini()
-{
-}
+
Type* SimpleTypeArrayWS::getInput(Type* Value0)
{
return Value0;
1.2 +1 -12 ws-axis/c/samples/server/base/InteropTestPortType.cpp
Index: InteropTestPortType.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/base/InteropTestPortType.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- InteropTestPortType.cpp 6 Apr 2005 05:22:09 -0000 1.1
+++ InteropTestPortType.cpp 26 Aug 2005 06:11:53 -0000 1.2
@@ -34,18 +34,7 @@
void InteropTestPortType::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void InteropTestPortType::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void InteropTestPortType::fini()
-{
-}
+
xsd__string InteropTestPortType::echoString(xsd__string Value0)
{ return Value0;
}
1.2 +1 -12 ws-axis/c/samples/server/bench/AxisBench.cpp
Index: AxisBench.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/bench/AxisBench.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AxisBench.cpp 6 Apr 2005 13:42:28 -0000 1.1
+++ AxisBench.cpp 26 Aug 2005 06:11:53 -0000 1.2
@@ -34,18 +34,7 @@
void AxisBench::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void AxisBench::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void AxisBench::fini()
-{
-}
+
BenchDataType* AxisBench::doBenchRequest(BenchDataType* Value0)
{
return Value0;
1.2 +0 -2 ws-axis/c/samples/server/calculator/Calculator.cpp
Index: Calculator.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/calculator/Calculator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Calculator.cpp 6 Apr 2005 11:23:25 -0000 1.1
+++ Calculator.cpp 26 Aug 2005 06:11:53 -0000 1.2
@@ -20,8 +20,6 @@
#include "Calculator.hpp"
void Calculator::onFault(){}
-void Calculator::init(){}
-void Calculator::fini(){}
Calculator::Calculator()
{
1.7 +1 -12 ws-axis/c/samples/server/doclitfault/MathOps.cpp
Index: MathOps.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/doclitfault/MathOps.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- MathOps.cpp 8 Apr 2005 08:09:27 -0000 1.6
+++ MathOps.cpp 26 Aug 2005 06:11:53 -0000 1.7
@@ -35,18 +35,7 @@
void MathOps::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void MathOps::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void MathOps::fini()
-{
-}
+
xsd__int MathOps::div(xsd__int Value0, xsd__int Value1)
{
if (Value1 == 0)
1.2 +1 -12 ws-axis/c/samples/server/element/XSDElement.cpp
Index: XSDElement.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/element/XSDElement.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XSDElement.cpp 6 Apr 2005 13:42:29 -0000 1.1
+++ XSDElement.cpp 26 Aug 2005 06:11:53 -0000 1.2
@@ -35,18 +35,7 @@
void XSDElement::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void XSDElement::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void XSDElement::fini()
-{
-}
+
xsd__int XSDElement::setGetDataInt(xsd__int Value0)
{
return Value0;
1.2 +1 -12 ws-axis/c/samples/server/enumeration/EnumerationWS.cpp
Index: EnumerationWS.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/enumeration/EnumerationWS.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EnumerationWS.cpp 6 Apr 2005 13:42:29 -0000 1.1
+++ EnumerationWS.cpp 26 Aug 2005 06:11:53 -0000 1.2
@@ -34,18 +34,7 @@
void EnumerationWS::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void EnumerationWS::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void EnumerationWS::fini()
-{
-}
+
Type1* EnumerationWS::getInput(Type1* Value0)
{
return Value0;
1.4 +1 -12 ws-axis/c/samples/server/groupB/InteropTestPortTypeB.cpp
Index: InteropTestPortTypeB.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/groupB/InteropTestPortTypeB.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- InteropTestPortTypeB.cpp 2 Jun 2005 11:48:47 -0000 1.3
+++ InteropTestPortTypeB.cpp 26 Aug 2005 06:11:53 -0000 1.4
@@ -36,18 +36,7 @@
void InteropTestPortTypeB::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void InteropTestPortTypeB::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void InteropTestPortTypeB::fini()
-{
-}
+
void InteropTestPortTypeB::echoStructAsSimpleTypes(SOAPStruct* Value0, AXIS_OUT_PARAM xsd__int *OutValue1, AXIS_OUT_PARAM xsd__float *OutValue2)
{
int Value1 = Value0->varInt;
1.4 +1 -12 ws-axis/c/samples/server/ref/RefTestPortType.cpp
Index: RefTestPortType.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/ref/RefTestPortType.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- RefTestPortType.cpp 8 Apr 2005 08:09:27 -0000 1.3
+++ RefTestPortType.cpp 26 Aug 2005 06:11:53 -0000 1.4
@@ -20,18 +20,7 @@
void RefTestPortType::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void RefTestPortType::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void RefTestPortType::fini()
-{
-}
+
intType* RefTestPortType::echoInt(intType* Value0)
{
return Value0;
1.8 +1 -12 ws-axis/c/samples/server/rpcfault/MathOps.cpp
Index: MathOps.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/rpcfault/MathOps.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MathOps.cpp 8 Apr 2005 08:09:27 -0000 1.7
+++ MathOps.cpp 26 Aug 2005 06:11:53 -0000 1.8
@@ -35,18 +35,7 @@
void MathOps::onFault()
{
}
-/* This function is called by the AxisEngine when this web service
- library is first loaded. So here we can initialize any global/static
- data structures of this web service or open database connections */
-void MathOps::init()
-{
-}
-/* This function is called by the AxisEngine when this web service
- library is unloaded. So we can deallocate any global/static data structures
- and close database connections etc here. */
-void MathOps::fini()
-{
-}
+
xsd__int MathOps::div(xsd__int Value0, xsd__int Value1)
{
1.2 +0 -2 ws-axis/c/samples/server/transportProperties/Calculator.cpp
Index: Calculator.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/samples/server/transportProperties/Calculator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Calculator.cpp 6 Apr 2005 13:42:29 -0000 1.1
+++ Calculator.cpp 26 Aug 2005 06:11:54 -0000 1.2
@@ -20,8 +20,6 @@
#include "Calculator.hpp"
void Calculator::onFault(){}
-void Calculator::init(){}
-void Calculator::fini(){}
Calculator::Calculator()
{