Skip to main content

HS.Util.HubServices

abstract class HS.Util.HubServices

For now, this is not using Ensemble to invoke the services. This may change in the future

Method Inventory

Parameters

parameter HSDEPLOY = 1;

Methods

classmethod GetHubConnect(Output pURL As %String, Output pUser As %String, Output pPW As %String, Output pSSLConfig As %String, Output pTrace As %Boolean, pNoTrace=0) as %Status
This may be called on the hub or any gateway. It returns a status and 3 output parameters: When called from the hub, the output parameters will all be nil When called from a gateway, the output parameters will be Hub URL - Like the hub endpoint, but without the actual service class, User, PW It will use the connection parameters from either the currently running production, or if not running, from the most recently run production
classmethod Invoke(pNoTrace, pServiceClassName As %String, pProxyClassName As %String, pMethodName As %String, Output pResponse, pArgs...) as %Status
classmethod InvokeHubService(pServiceClassName As %String, pProxyClassName As %String, pMethodName As %String, Output pResponse, pArgs...) as %Status
This may be called on the hub or any gateway, to invoke a web service. If called from the hub, it will directly call the service If called from a gateway, it will make a web service call Input pArgs... may not include by reference (or output) arguments. While this is written to support any number of input pArgs, for future use it's best to restrict to a single Request argument.
classmethod InvokeHubServiceNoTrace(pServiceClassName As %String, pProxyClassName As %String, pMethodName As %String, Output pResponse, pArgs...) as %Status
FeedbackOpens in a new tab