If you are missing other templates from Atelier or Studio... add the following links:
The $HOROLOG is the cache datetime format, then the first part is de date and the second part is the time. The time is in seconds, then if you want to increase 15 minutes, you should to plus the time (15*60)
This is a example:
It only works if you are in the same day, because it raises an error
The best way to increase minutes, days, months, etc... is using $system.SQL.DATEADD method
I've created my Business Operation using the wizard to create SOAP Client.
I've modified the object to change the location and namespace according to the provider. This value is into the message.
This is a pice of the code:
Method MyMethod(pRequest As MyMessageWS.RequestsearchInfoRequest, Output pResponse As MyMessageWS.RequestsearchInfoResponse) As %Library.Status
Set tSC = ..Adapter.InvokeMethod("searchInfo",.info,pRequest.idSpeciality,pRequest.listaActs,pRequest.healthCenter,pRequest.aditionalInfo)
Set tSC = pRequest.NewResponse(.pResponse) Quit:$$$ISERR(tSC) tSC
Method prepareOperation(pRequest As MyMessageWS.Request.base) As %Status
Set ..Adapter.%Client.Namespace = pRequest.Namespace
Set ..Adapter.%Client.Location = pRequest.Url
The problem is the InvokeMethod is raising the error, so I'm not able to modify this code. It's part of the %Soap library.
Log in or create a new account to continue