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 su...@apache.org on 2004/04/01 09:04:39 UTC
cvs commit: ws-axis/c/src/engine Axis.cpp
susantha 2004/03/31 23:04:39
Modified: c/src/engine Axis.cpp
Log:
Corrected the problem of client crashing when there is no client side wsdd
Revision Changes Path
1.42 +3 -3 ws-axis/c/src/engine/Axis.cpp
Index: Axis.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/engine/Axis.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- Axis.cpp 31 Mar 2004 15:05:41 -0000 1.41
+++ Axis.cpp 1 Apr 2004 07:04:39 -0000 1.42
@@ -300,8 +300,10 @@
if(status == AXIS_SUCCESS)
{
char* pClientWsddPath = g_pConfig->GetClientWsddFilePath();
+ /* May be there is no client side handlers configured. So may not have
+ * CLIENTWSDDFILEPATH entry in axiscpp.conf */
+ if (!pClientWsddPath) return status;
if (AXIS_SUCCESS != g_pWSDDDeployment->LoadWSDD(pClientWsddPath)) return AXIS_FAIL;
-
#if defined(__AXISTRACE__)
status = g_pAT->openFileByClient();
if(status == AXIS_FAIL)
@@ -321,8 +323,6 @@
return AXIS_FAIL;
}
}
-
-
return AXIS_SUCCESS;
}