Question Thembelani Mlalazi · Feb 26 REST How to download a file using REST Operation I am trying to download a zip folder using a REST operation I call in to the API and a folder is returned as a response .I need to be able to grab that folder and save it to the disc has anyone out there ever done something like this .Could you please point us to the starting point with an example please. #API #Business Operation #CSP #REST API #Caché #Ensemble #InterSystems IRIS for Health 0 0 0 81
Question Thembelani Mlalazi · Sep 28, 2022 How to secure a REST API I am trying to secure a rest service but I lack the understanding of how to achieve this if anyone will explain in details how I could achieve the following: Securing The REST Service with Basic Auth (username and password) if any one has a sample code on this will appreciate #Authentication #Access control #REST API #Ensemble #HealthShare 0 2 0 191
Question Thembelani Mlalazi · Sep 16, 2022 REST Service how to accept a Json request I have a REST Service that I want it to receive a json string request I have set up my URLMap as follows the top URL when populated and requested works fine but I would like my request to be a json string and that is not working I am getting a 500 error am I missing something please advice. #Business Service #JSON #REST API #Caché #Ensemble 0 5 0 185
Question Thembelani Mlalazi · Jul 19, 2022 SQL ODBC Warnings On Null Values in a Stored Procedure I am calling a stored procedure over an ODBC connection and every time I call it there are several warnings written to the log event {Found no Parameter 1 (used as 1) for query}.I seem to be getting this on every query executed and that seems to happen a number of times the query parameters are per query and its filling up my disc. 1) Is there a way to suppress these warnings as the query seems to be executed and data written to the database? #Business Operation #Databases #ODBC #SQL #Caché #Ensemble #Worldwide Response Center (WRC) 1 1 0 104
Question Thembelani Mlalazi · Mar 16, 2021 SQL ODBC Connection query running longer than expected I have a SQL query that I want to run against MS SQL from cache ensemble using the SQL outbound adapter. If I run this query direct from MS SQL Studio it take about 7 seconds MAX and returns about half a million rows. The row only contains one column it is a number all same size and if I run this query in the production in ensemble it takes for ever the production finishes without getting the response back. The same query run in cache outside the ensemble environment writing results to a file it returns results taking about 3minutes to complete. #Databases #ObjectScript #ODBC #SQL #Caché #Ensemble #HealthShare #Worldwide Response Center (WRC) 0 1 0 205
Question Thembelani Mlalazi · Mar 12, 2021 How to delete files classes in cache 2018 In previous versions of cache I used to be able to write click on a class and get a delete class option but in this version I can not find the delete class option was wondering if there is another way to delete a class if you wanted to do some house keeping. N.B. These are the classes I create not the ones that comes with cache. #ObjectScript #Caché #Ensemble 0 1 0 366
Question Thembelani Mlalazi · Feb 1, 2021 REST Consumer sending and Receiving Files I am trying to write a REST consumer the API that I am talking to expects a file to be sent over and in response I will get a file back if anyone out there has ever had a similar use case please could you kindly guide us or share some sample code please #Business Operation #JSON #REST API #Ensemble 0 2 0 190
Question Thembelani Mlalazi · Jul 15, 2020 How to Create an XML from Serial Classes with populated segments leaving out empty elements Lets say I have a serial Class A ,Serial Class B,Serial C and Persistent Class Ens.Request #XML #Caché #Ensemble 0 4 0 166
Question Thembelani Mlalazi · Nov 28, 2019 Does IRIS have %Library.CachePopulate I have a class that inherits from %Library.CachePopulate #Ensemble #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 163
Question Thembelani Mlalazi · Sep 25, 2019 Soap Service How to pass a Stream Response I have been trying to pass a %Global character stream back on a Soap Response has anyone one out there done it before please help with guide lines on how to achieve this thanks in advance just some working sample code and will take it from there thanks again #.NET #API #SOAP #Caché 0 5 0 477