%CSP.Monitor.Client
Class %CSP.Monitor.Client Extends %SOAP.WebClient [ System = 4 ]
This is the client side class for the SOAP Monitor Service. Users must initiate the object, set the Location property before calling the GetMatrix method. Here is an example of invoking this WebService to monitor information from a remote system set wsclient=##class(%CSP.Monitor.Client).%New() set wsclient.Location="http://www.intersystems.com/csp/enslib/\_CSP.Monitor.Server.cls" set matrix=wsclient.GetMatrix("AppStats") After this, 'matrix' is an object of %CSP.Monitor.Matrix containing the information returned from the server.
Parameters
NAMESPACE
Parameter NAMESPACE = "http://tempuri.org";
This is the namespace used by the Service
OUTPUTTYPEATTRIBUTE
Parameter OUTPUTTYPEATTRIBUTE = 1;
Use xsi:type attribute for literal types.
SERVICENAME
Parameter SERVICENAME = "SOAPMonitor";
This is the name of the Service
Methods
GetMatrix
Method GetMatrix(Type As %String, Parameter As %String = "") As %CSP.Monitor.Matrix [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
MessageSearch
Method MessageSearch(FilterObjStr As %Stream.GlobalCharacter, Timeout As %Numeric = -1, NextId As %Integer = 0, Type As %String = "SEARCH") As %XML.DataSet [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
ResendDuplicatedMessage
Method ResendDuplicatedMessage(OriginalHeaderId As %String, OriginalHeader As %Stream.GlobalBinary, NewTarget As %String = "", NewBody As %Stream.GlobalBinary = {$$$NULLOREF}, NewSource As %String = "", HeadOfQueue As %Boolean = 0, pBodyUseOriginalNode As %String = "") As %String [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]