%Studio.SourceControl.ItemSetWS
Class %Studio.SourceControl.ItemSetWS Extends %SOAP.WebClient [ System = 4 ]
Parameters
SrcVer
Parameter SrcVer = "$Id: //iris/2024.3.0/databases/sys/cls/Studio/SourceControl/ItemSetWS.xml#1 $";
This Parameter should be updated when synced from Perforce
Version
Parameter Version = 17;
Revision number of this class when compiled as part of the //custom_ccrs/_common/config/... branch. This version will not be updated (by design) when the class is integrated to other branches. This allows the user to tell what version of the Studio client tools are in use.
LOCATION
Parameter LOCATION = "https://ccr.intersystems.com/ccr/CCR.ItemSet.WebService.cls";
This is the URL used to access the web service.
NAMESPACE
Parameter NAMESPACE = "http://www.intersystems.com/ccr/v1";
This is the namespace used by the Service
OUTPUTTYPEATTRIBUTE
Parameter OUTPUTTYPEATTRIBUTE = 1;
Use xsi:type attribute for literal types.
SERVICENAME
Parameter SERVICENAME = "CCRItemSetWS";
This is the name of the Service
USEPPGHANDLER
Parameter USEPPGHANDLER = 1;
Use PPG Memory as opposed to process memory for XML reader
Properties
APIKey
Property APIKey As %String(TRUNCATE = 1) [ Private ];
APISecret
Property APISecret As %String(TRUNCATE = 1) [ Private ];
Methods
GetAPICredentials
Method GetAPICredentials(ByRef pAPIKey As %String)
SetAPICredentials
ClassMethod SetAPICredentials(pUsername As %String, pAPIKey As %String, pSecret As %String)
InvokeWebMethod
Method InvokeWebMethod(pAction As %String = "", pJob As %String = "", pEnv As %String = "", pToken As %String = "", ByRef pStr1 As %String = "", ByRef pStr2 As %String = "", ByRef pFile As %FileCharacterStream = "", ByRef pDataSet As %XML.DataSet = "") As %xsd.base64Binary [ Final, ProcedureBlock = 1, SoapBindingStyle = document, SoapBodyUse = literal, WebMethod ]
CalcLocation
Method CalcLocation() As %String
Handles fetching the override Location if it exists
OnToolsCompile
ClassMethod OnToolsCompile() [ CodeMode = objectgenerator, Internal ]
Handles all compile-time logic for this class [Previously private]
GetDate
Method GetDate() As %String [ Private ]
%OnSOAPRequest
Method %OnSOAPRequest(mode As %String, client As %SOAP.WebClient, action As %String, oneWay As %Boolean, method As %String, requestStream As %BinaryStream)
This method is a callback which will be invoked before invoking transport.DoSOAPRequest() method to make the actual SOAP request. This method may be override by the user's web client class. DoSOAPRequest is the transport method which is responsible for sending the SOAP request and receiving the response. The default DoSOAPRequest is included in %SOAP.WebClient and uses HTTP for request/response.
The mode argument specifies the type of SOAP request "SOAP" or "binary".
The client argument is the oref of the web client class.
The action argument contains the value of the SOAPAction.
The oneWay argument is true if no body is to be sent. The method argument is the name of the WebMethod that is being invoked
The requestStream argument contains the SOAP request message in a stream. requestStream may =0 as an optimization to improve SOAP performance. requestStream=0 means that the stream is kept in memory as much as possible with overflow to a global. requestStream may be accessed by using $$$XMLRewind and $$$XMLRead macros.