go to post Eduard Lebedyuk · Feb 5, 2019 You can have a device which holds the connection and read from it when you want to.
go to post Eduard Lebedyuk · Feb 4, 2019 #) I know websocket server works from the browser client, just not from Cache client.#2) I do not have control (or even dev access) to the websocket server. It's not Cache-based through.
go to post Eduard Lebedyuk · Feb 4, 2019 Looks like there's a character stream somewhere. You should always use binary streams to upload binary data such as images, PDFs and so on.First of all you need to understand where the problem is: on sending or on receiving.To do that upload PDF using your BO and download it from AWS website manually (using your browser). If you can open downloaded file, then it means that your upload code is correct and the problem is with download code. If you can't open the file it means that you need to check upload code.
go to post Eduard Lebedyuk · Feb 4, 2019 Redefine HTTP adapter like this: Class Production.Adapter.HTTPOutboundAdapter Extends EnsLib.HTTP.OutboundAdapter { Method PostURL(pURL As %String, Output pHttpResponse As %Net.HttpResponse, pFormVarNames As %String, pData...) As %Status [ CodeMode = expression ] { ..SendFormDataArray(.pHttpResponse, "POST", ..GetRequest(), .pFormVarNames, .pData, pURL) } ClassMethod GetRequest() As %Net.HttpRequest { set request = ##class(%Net.HttpRequest).%New() set request.ContentType = "application/pdf" quit request } } And use it instead of default adapter. For better performance it would be better to reuse the request. Alternatively, you can call SendFormDataArray adapter method directly and it accepts request object.
go to post Eduard Lebedyuk · Feb 1, 2019 Please share the code from %0AmBx1^%sqlcq.PRD.2249 To do that open %sqlcq.PRD.2249 routine (int routine, afaik mac routine wouldn't have this ) If you can't find routines check that system saves sources for cached queries. If it doesn't set the setting to save routines, purge this query and run it again. After that you should be able to see the source. Also can you determine which part of SQL causes this error?
go to post Eduard Lebedyuk · Feb 1, 2019 Check Cache Security Administration Guide. And also this article.
go to post Eduard Lebedyuk · Jan 31, 2019 What status does this line return: set sc=conn.Connect("Production","username","password") Can you execute a trivial statement such as: SELECT 1 or (depenting on your target DBMS): SELECT 1 FROM dual or is it the same error?
go to post Eduard Lebedyuk · Jan 27, 2019 Thank you,. Alexander.Really didn't think that it could be any undefined variable.
go to post Eduard Lebedyuk · Jan 27, 2019 Thank you, Robert!I'll file a prodlog (about the docs), so we'll see.
go to post Eduard Lebedyuk · Jan 27, 2019 Yes, tested it in Ensemble 2017.2 and InterSystems IRIS 2018.1.
go to post Eduard Lebedyuk · Jan 25, 2019 About everything quoted is a valid property name: Property "WHY( *?""*?";
go to post Eduard Lebedyuk · Jan 25, 2019 You need to do these three steps in order:Compact Globals in a Database (optional)Compact a DatabaseTruncate a DatabaseIn can be done via ^DATABASE utility or in management portal.
go to post Eduard Lebedyuk · Jan 24, 2019 If you have an XSD, it's as simple as importing it and using imported classes.If you do not have a schema, you'll need to either generate an XSD from XML (there are many tools online) or just plain create Caché classes and make them XML-enabled.Documentation:XMLHTTP RequestThat said, is XML really a part of the url?
go to post Eduard Lebedyuk · Jan 24, 2019 Validation process is unable to process the message in 2 seconds. Probably because of the queue.There are several ways to remedy that:1. Increase timeout.2. Make the call ASYNC.3. Increase pool size for Validation process4. Make validation process work faster.
go to post Eduard Lebedyuk · Jan 24, 2019 File selection dialog sorts by file type (extension).I agree that by Name would be better probably.