1 %RegisteredObject 0 1 Stream:%Stream,Direction:%String,ClassName:%String 1 ClassName:%String,Webmethod:%String 1 %Boolean 0) If (IsLoggingNodig && ##class(TECH.Config.ConfigMgr).Instance().GetBoolean("WS.WebService.Log")){ If $Data(^TECH.Config.LogAlleWebservices){ Set IsLoggingNodig = ^TECH.Config.LogAlleWebservices If ('IsLoggingNodig){ If $Data(^TECH.Config.LogWebservice(ClassName)){ Set IsLoggingNodig = ^TECH.Config.LogWebservice(ClassName) } } } } Quit IsLoggingNodig CatchIsLoggingNodig Set $ZTRAP = "" Set Exception = ##class(TECH.ExceptionHandler).Catch() do ##class(vhLib.Logger).%New("WS.WebserviceLogger").ErrorMail("CatchIsLoggingNodig",Exception.ToString()) Quit 0 ]]>