Index: WS/WebserviceLogger.cls.xml =================================================================== diff -u -r3061 -r3149 --- WS/WebserviceLogger.cls.xml (.../WebserviceLogger.cls.xml) (revision 3061) +++ WS/WebserviceLogger.cls.xml (.../WebserviceLogger.cls.xml) (revision 3149) @@ -40,13 +40,18 @@ 1 -ClassName:%String,Webmethod:%String +ClassName:%String,Webmethod:%String="" 1 %Boolean 0) - If (IsLoggingNodig && ##class(TECH.Config.ConfigMgr).Instance().GetBoolean("WS.WebService.Log")){ + Set IsLoggingNodig = 0 + if '$length(Webmethod) { + set Exception = ##class(TECH.Exceptions.InvalidInputException).%New(ClassName_" : Webmethod vereist") + do ##class(TECH.ExceptionHandler).Throw(Exception) + } + + If (##class(TECH.Config.ConfigMgr).Instance().GetBoolean("WS.WebService.Log") ){ If $Data(^TECH.Config.LogAlleWebservices){ Set IsLoggingNodig = ^TECH.Config.LogAlleWebservices If ('IsLoggingNodig){