Web Services - New Diagnostic Counters

 

Starting in 10.95.3, the web services point manager now includes diagnostic information exposed as tags similar to those originally implemented in the FrameWorX Server. At the root level, the web services point manager now exposes one diagnostic point:

@@TotalCachedItemsCount - The total number of items in the cache.

Web methods now expose a folder called "@@Diagnostics". This new folder contains a few diagnostic points:

@@CachedItemsCount - The number of cached items for the web method. If the web method accepts parameters, parameters do not have to be included.

o Example: ws:folder.service.method.@@CachedItemsCount

@@LastCallStatus - The status of the last (or current, if executing) call. Possible values are: Succeeded, Running, Failed, Timed Out. If the web service accepts parameters, parameters do have to be included.

o Example: ws:folder.service.method<@p1=1, @p2=2>.@@LastCallStatus

@@LastCallStatusCode - Same as @@LastCallStatus but represented as an integer code. Values are 0 (Succeed), 1 (Running), 2 (Failed), 3 (TimedOut). If the data source accepts parameters, parameters do have to be included.

o Example: ws:folder.service.method<@p1=1, @p2=2>.@@LastCallStatusCode

@@LastError - The last error that occurred during the method execution or null if there was no error. (Note, this point is not exposed by default. To enable it, go to Platform Services Configuration > Point Managers tab, select the Web Services Point Manager, and set EnableErrorDetailsDiagnosticPoints to true.) If the data source accepts parameters, parameters do have to be included

o Example: ws:folder.service.method<@p1=1, @p2=2>.@@LastError