go to post Enrico Parisi · 6 hr ago Add %XML.Adaptor to the superclasses of all your classes, the trace message content viewer represents the class as XML.
go to post Enrico Parisi · 14 hr ago What's the line (segment) delimiter used in the stream? Maybe (likely?) $c(10), there maybe a message delimiter. My suggestion is to save the stream into a file and then using an hex editor check what your stream actually contains and how is delimited. Then, with this accurate info, you can split your stream in HL7 messages.
go to post Enrico Parisi · 15 hr ago "The rest of the structure that is referenced by the base Response.cls structure extends %RegisteredObject, %JSON.Adaptor." A %RegisterdObject is not persistent, so it's never stored and therefore you cannot view in trace something that...does not exists (anymore). Maybe an option could be to use %SerialObject instead of %RegisterdObject
go to post Enrico Parisi · Jan 31 @Vachan C Rannore, that's work for sure, BUT, the file will be exported in the IRIS SERVER filesystem, not "your" (where vscode is running) filesystem. In some environment you may not have (simple) access to the IRIS server filesystem. The question is on exporting to your local machine, as usually done using Studio.
go to post Enrico Parisi · Jan 27 Is the %Service_Bindings enabled with password authentication? Check in Management Portal:System Administration -> Security -> Services
go to post Enrico Parisi · Jan 26 Hi, I'm in! 😊 Any topic, including InterSystems READY or any tech chat.
go to post Enrico Parisi · Jan 25 Can you please provide more details? What kind of "service"? What settings are you using?
go to post Enrico Parisi · Jan 24 To verify a certificate against a CA Certificate Chain you can use: Set Result=$SYSTEM.Encryption.X509VerifyCertChain(Certificate, CAChainFileName) See X509VerifyCertChain() documentation for details. To verify the validity of a signature you can use: Set SignIsValid=$system.Encryption.RSASHAVerify(Bitlength,Payload,Signature,SignCertificate) See RSASHAVerify() documentation for details.
go to post Enrico Parisi · Jan 24 Usually in IRIS X509 certificate are configured in Management Portal:System Administration -> Security -> X.509 Credentials To configure it there the certificate must be stored in a file. How/where you need to use the X509 certificate?
go to post Enrico Parisi · Jan 15 Use: tXml.OutputToFile(tXmlFilename,,"C(UTF8)") To overwrite if file exists: tXml.OutputToFile(tXmlFilename,1,"C(UTF8)")
go to post Enrico Parisi · Jan 10 Ask AI says Aks AI works fine: The Ask AI functionality associated with the Developer Community appears to be operational. Despite earlier reports during maintenance periods indicating that it might be unavailable, there are current instances and comments suggesting functionality has been restored. You are encouraged to verify this directly by accessing and testing the service 1 2. 😊
go to post Enrico Parisi · Jan 9 Try setting the Timeout property in %respone (instance %CSP.Ressponse class): Can be set in the OnPreHTTP() method of a page in which case this changes the amount of time the CSP gateway will wait for a response from the server in seconds before it reports the 'Server is not responding' error message. This is useful if you know that this page is doing an expensive SQL query that will take a couple of minutes and you want to set the server response timeout on the CSP gateway to a minute and yet wait three minutes for this page to respond. It will just change the server response timeout for this page only. If not set the the CSP gateway uses its default timeout value specified in the CSP gateway configuration.
go to post Enrico Parisi · Jan 9 There is no limit when working with streams, for strings is 3641144, (in some case there may be some overhead).
go to post Enrico Parisi · Jan 7 I suggest to read the following post: SSH with key pair authentication error Ensemble operation
go to post Enrico Parisi · Jan 7 This is the Community of InterSystems developers, the official InterSystems support is: InterSystems Worldwide Response Center (WRC)
go to post Enrico Parisi · Jan 7 I think that to get a definitive answer you should contact WRC Support.
go to post Enrico Parisi · Jan 7 I can't think of a reason why you need to retry, normal, standard SQL update works just fine, if it does not in your case, post a sample code to reproduce your issue.
go to post Enrico Parisi · Jan 7 Unless your post is missing crucial code/info, the SQL update you posted is atomic and should work even with concurrent processes updating the same row. No need of %NOLOCK or retry (is that second update a retry?).It will not be atomic if you use %NOLOCK. If you want to use object code to update ProcessedCount, then: Set obj=##class(Data.A).%OpenId(RowID,4) Set obj.ProcessedCount=obj.ProcessedCount + 1 Set sc=obj.%Save() ; handle error here Kill obj I feel your post/code misses some info. Also, what do you mean with "not working"?
go to post Enrico Parisi · Jan 5 Are you sure that the Routes you posted are the ones used by the called web application? The error suggest there is an issue (invalid value?) with the Url attribute in the Routes. You may want to check the generated method DispatchMap in the .int code of your dispatch class.