Home > Class Reference > ENSLIB namespace > %CSP.Monitor.Client

%CSP.Monitor.Client

class %CSP.Monitor.Client extends %SOAP.WebClient

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

parameter NAMESPACE = http://tempuri.org;
This is the namespace used by the Service
parameter OUTPUTTYPEATTRIBUTE = 1;
Use xsi:type attribute for literal types.
parameter SERVICENAME = SOAPMonitor;
This is the name of the Service

Methods

final method GetMatrix(Type As %String, Parameter As %String = "") as %CSP.Monitor.Matrix [ Language = objectscript, WebMethod ]
final method MessageSearch(FilterObjStr As %Stream.GlobalCharacter, Timeout As %Numeric = -1, NextId As %Integer = 0, Type As %String = "SEARCH") as %XML.DataSet [ Language = objectscript, WebMethod ]
final 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 [ Language = objectscript, WebMethod ]

Inherited Methods

%AddEnvelopeNamespace() %Extends() %SerializeObject()
%AddToSaveSet() %GetParameter() %SetModified()
%ClassIsLatestVersion() %IsA() %StartRMSession()
%ClassName() %IsModified() %ValidateObject()
%CloseRMSession() %New() CancelSecureConversation()
%ConstructClone() %NormalizeObject() GetBodyId()
%DispatchClassMethod() %ObjectModified() NormalizeName()
%DispatchGetModified() %OnSOAPFinished() ResetHttpHeaders()
%DispatchGetProperty() %OnSOAPRequest() SendSOAPRequest()
%DispatchMethod() %OnSOAPResponse() SetHttpHeader()
%DispatchSetModified() %OriginalNamespace() StartSecureConversation()
%DispatchSetMultidimProperty() %PackageName() WSCheckSignatureConfirmation()
%DispatchSetProperty() %RemoveFromSaveSet() WSSecurityLogin()