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 ro...@apache.org on 2004/03/29 16:20:21 UTC
cvs commit: ws-axis/c/vc/handlers/custom/echoStringHeaderHandler echoStringHeaderHandler.dsp
roshan 2004/03/29 06:20:21
Modified: c/src/server/handlers/custom/echoStringHeaderHandler
ESHHandler.cpp ESHHandler.h
EchoStringHeaderHandler.cpp
c/vc/handlers/custom/echoStringHeaderHandler
echoStringHeaderHandler.dsp
Log:
Updated the code to reflect the latest tree/folder structuring
Revision Changes Path
1.9 +13 -12 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.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ESHHandler.cpp 28 Feb 2004 06:34:34 -0000 1.8
+++ ESHHandler.cpp 29 Mar 2004 14:20:21 -0000 1.9
@@ -66,16 +66,16 @@
//////////////////////////////////////////////////////////////////////
#include "ESHHandler.h"
-#include <axis/common/GDefine.h>
-#include <axis/common/IHandlerSoapSerializer.h>
-#include <axis/common/IHandlerSoapDeSerializer.h>
-#include <axis/soap/HeaderBlock.h>
-#include <axis/soap/SoapHeader.h>
-#include <axis/soap/BasicNode.h>
-#include <axis/common/AxisTrace.h>
+#include <axis/server/GDefine.h>
+#include <axis/server/IHandlerSoapSerializer.h>
+#include <axis/server/IHandlerSoapDeSerializer.h>
+#include <axis/server/HeaderBlock.h>
+#include <axis/server/SoapHeader.h>
+#include <axis/server/BasicNode.h>
+#include <axis/server/AxisTrace.h>
#include <iostream>
-#include <axis/soap/CharacterElement.h>
+#include <axis/server/CharacterElement.h>
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
@@ -143,8 +143,8 @@
if (pIHeaderBlock != NULL) {
- BasicNode* pBasicNode= pIHeaderBlock->getFirstChild();
- BasicNode* pBasicNode2= pBasicNode->getFirstChild();
+ const BasicNode* pBasicNode= pIHeaderBlock->getFirstChild();
+ const BasicNode* pBasicNode2= pBasicNode->getFirstChild();
const AxisChar* pachHeaderValue;
const AxisChar* pachHeaderValue2;
@@ -154,8 +154,8 @@
pachHeaderValue = "This was not the expected value Ros";
}
- BasicNode* pBasicNode3= pIHeaderBlock->getLastChild();
- BasicNode* pBasicNode4 =pBasicNode3->getFirstChild();
+ const BasicNode* pBasicNode3= pIHeaderBlock->getLastChild();
+ const BasicNode* pBasicNode4 =pBasicNode3->getFirstChild();
if((pBasicNode4->getNodeType()) == CHARACTER_NODE) {
pachHeaderValue2= pBasicNode4->getValue();
} else {
@@ -171,6 +171,7 @@
pIMsg->setProperty(pachTemp, pachTmpValue);
free(pachTmpValue);
+
} else {
//do some thing
1.6 +1 -1 ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/ESHHandler.h
Index: ESHHandler.h
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/handlers/custom/echoStringHeaderHandler/ESHHandler.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ESHHandler.h 28 Feb 2004 06:34:34 -0000 1.5
+++ ESHHandler.h 29 Mar 2004 14:20:21 -0000 1.6
@@ -72,7 +72,7 @@
#pragma once
#endif // _MSC_VER > 1000
-#include <axis/common/Handler.h>
+#include <axis/server/Handler.h>
class ESHHandler : public Handler
{
1.6 +1 -1 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- EchoStringHeaderHandler.cpp 28 Feb 2004 06:34:34 -0000 1.5
+++ EchoStringHeaderHandler.cpp 29 Mar 2004 14:20:21 -0000 1.6
@@ -72,7 +72,7 @@
#endif
#include "ESHHandler.h"
-#include <axis/common/GDefine.h>
+#include <axis/server/GDefine.h>
extern "C" {
//the two export functions////////////////////////////////////////////
1.2 +5 -5 ws-axis/c/vc/handlers/custom/echoStringHeaderHandler/echoStringHeaderHandler.dsp
Index: echoStringHeaderHandler.dsp
===================================================================
RCS file: /home/cvs/ws-axis/c/vc/handlers/custom/echoStringHeaderHandler/echoStringHeaderHandler.dsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- echoStringHeaderHandler.dsp 25 Mar 2004 15:08:20 -0000 1.1
+++ echoStringHeaderHandler.dsp 29 Mar 2004 14:20:21 -0000 1.2
@@ -69,7 +69,7 @@
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ECHOSTRINGHEADERHANDLER_EXPORTS" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../../../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ECHOSTRINGHEADERHANDLER_EXPORTS" /YX /FD /GZ /c
+# ADD CPP /nologo /MTd /W3 /Gm /GR /GX /ZI /Od /I "../../../../include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ECHOSTRINGHEADERHANDLER_EXPORTS" /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
@@ -79,7 +79,7 @@
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 /nologo /dll /debug /machine:I386 /out:"../../../../bin/echoStringHeaderHandler.dll" /pdbtype:sept
!ENDIF
@@ -92,11 +92,11 @@
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
-SOURCE=..\..\..\..\..\src\server\handlers\custom\echoStringHeaderHandler\EchoStringHeaderHandler.cpp
+SOURCE=..\..\..\..\src\server\handlers\custom\echoStringHeaderHandler\EchoStringHeaderHandler.cpp
# End Source File
# Begin Source File
-SOURCE=..\..\..\..\..\src\server\handlers\custom\echoStringHeaderHandler\ESHHandler.cpp
+SOURCE=..\..\..\..\src\server\handlers\custom\echoStringHeaderHandler\ESHHandler.cpp
# End Source File
# End Group
# Begin Group "Header Files"
@@ -104,7 +104,7 @@
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
-SOURCE=..\..\..\..\..\src\server\handlers\custom\echoStringHeaderHandler\ESHHandler.h
+SOURCE=..\..\..\..\src\server\handlers\custom\echoStringHeaderHandler\ESHHandler.h
# End Source File
# End Group
# Begin Group "Resource Files"