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 ro...@apache.org on 2004/04/09 08:52:32 UTC
cvs commit: ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler configure.ac Makefile.am ESHHandler.cpp EchoStringHeaderHandler.cpp
roshan 2004/04/08 23:52:32
Modified: c/src/server/handlers/custom/echoStringHeaderHandler
configure.ac Makefile.am ESHHandler.cpp
EchoStringHeaderHandler.cpp
Log:
Fixes for sample handler echoStringHeaderHandler.
Revision Changes Path
1.2 +3 -1 ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/configure.ac
Index: configure.ac
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/configure.ac,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- configure.ac 2 Oct 2003 06:06:15 -0000 1.1
+++ configure.ac 9 Apr 2004 06:52:32 -0000 1.2
@@ -1,7 +1,9 @@
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
AM_INIT_AUTOMAKE(0.3)
AM_CONFIG_HEADER(config.h)
-
+CFLAGS="-Wshadow -Wall -pedantic -ansi"
+CPPFLAGS="-Wshadow -Wall -pedantic -ansi"
+LDFLAGS="-s -lltdl -lstdc++"
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
1.3 +1 -2 ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/Makefile.am
Index: Makefile.am
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile.am 21 Oct 2003 03:50:15 -0000 1.2
+++ Makefile.am 9 Apr 2004 06:52:32 -0000 1.3
@@ -1,7 +1,6 @@
lib_LTLIBRARIES = libeshhandler.la
SUBDIRS =
-AM_CPPFLAGS = -Wshadow -Wall -pedantic -ansi
libeshhandler_la_SOURCES = ESHHandler.cpp EchoStringHeaderHandler.cpp
+libeshhandler_la_LIBADD = $(LDFLAGS)
-libeshhandler_la_LIBADD = -L$(AXISCPP_HOME)/lib/xerces-c -lxerces-c -ldl $(AXISCPP_HOME)/release/libaxiscpp_mod.la
INCLUDES = -I$(AXISCPP_HOME)/include
1.10 +7 -2 ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/ESHHandler.cpp
Index: ESHHandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/ESHHandler.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ESHHandler.cpp 29 Mar 2004 14:20:21 -0000 1.9
+++ ESHHandler.cpp 9 Apr 2004 06:52:32 -0000 1.10
@@ -57,7 +57,7 @@
*
*
*
- * @author Roshan Weerasuriya (roshan@jkcs.slt.lk, roshan@opensource.lk)
+ * @author Roshan Weerasuriya (roshan@opensource.lk, roshanw@jkcsworld.com)
*
*/
@@ -123,7 +123,7 @@
pIHeaderBlock->setLocalName("echoMeStringResponse");
pIHeaderBlock->setUri("http://soapinterop.org/echoheader/");
- pachTemp = "EchoStringHeaderHandlerPr1.id";
+ pachTemp = "EchoStringHeaderHandlerPr1.id";
const AxisChar* pachHeaderVal = pIMsg->getProperty(pachTemp);
printf("in the ESHHandler::Invoke : %s\n",pachHeaderVal);
@@ -175,6 +175,11 @@
} else {
//do some thing
+ //AxisChar* pachTmpValue = "Default values since no reqeust SOAP header";
+ //pachTemp = "EchoStringHeaderHandlerPr1.id";
+ //pIMsg->setProperty(pachTemp, pachTmpValue);
+
+ //free(pachTmpValue);
}
}
1.7 +1 -2 ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/EchoStringHeaderHandler.cpp
Index: EchoStringHeaderHandler.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/EchoStringHeaderHandler.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- EchoStringHeaderHandler.cpp 29 Mar 2004 14:20:21 -0000 1.6
+++ EchoStringHeaderHandler.cpp 9 Apr 2004 06:52:32 -0000 1.7
@@ -57,7 +57,7 @@
*
*
*
- * @author Roshan Weerasuriya (roshan@jkcs.slt.lk, roshan@opensource.lk)
+ * @author Roshan Weerasuriya (roshan@opensource.lk, roshanw@jkcsworld.com)
*
*/
@@ -82,7 +82,6 @@
STORAGE_CLASS_INFO
int GetClassInstance(BasicHandler **inst)
{
- printf("in the GetClassInstance of ....");
*inst = new BasicHandler();
ESHHandler* pESHHandler = new ESHHandler();