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 sa...@apache.org on 2005/08/17 11:58:34 UTC
cvs commit: ws-axis/c/src/wsdd WSDDService.cpp
samisa 2005/08/17 02:58:34
Modified: c/src/wsdd WSDDService.cpp
Log:
Added changes to make the allowedMethods entry optional in server.wsdd
Revision Changes Path
1.29 +3 -0 ws-axis/c/src/wsdd/WSDDService.cpp
Index: WSDDService.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/wsdd/WSDDService.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- WSDDService.cpp 17 Aug 2005 08:39:01 -0000 1.28
+++ WSDDService.cpp 17 Aug 2005 09:58:33 -0000 1.29
@@ -101,6 +101,9 @@
bool WSDDService::isAllowedMethod(const AxisChar* sServiceName) const
{
+ if (m_AllowedMethods.size() == 0) //no allowedMethods mentioned in wsdd, hence assume all are allowed
+ return true; // assume that the method is allowd if allowedMethods missing
+
list<AxisString>::const_iterator iter;
iter = m_AllowedMethods.begin();