Question Rochdi Badis · Jun 1, 2022 Production Service connections Hi Guys, I have a service that picks up jobs and process them, is there a way that I can cap the number of attempts to pickup a certain job eg. 10 times if no response then just discard ? Thanks #Ensemble 0 1 0 177
Question Rochdi Badis · May 30, 2022 HTTP/1.1 500 Internal Server Error Hi Guys, I'm using the below code to post a JSON file: #Ensemble 0 3 0 446
Question Rochdi Badis · May 28, 2022 Write JSON file in HTTPREQUEST Hi Guys, how can I write a json file in httprequest, I'm using the below but when I check what's in mystring it's actually truncated and doen't include all my file? #Ensemble 0 10 0 424
Question Rochdi Badis · May 27, 2022 HTTP/1.1 415 Unsupported Media Type error when posting httprequest Hi Guys, I've a JSON file and I'm using the below code to post it but I'm geting "HTTP/1.1 415 Unsupported Media Type" error, could help pls? #Ensemble 0 4 0 342
Question Rochdi Badis · May 24, 2022 reading JSON file Hi Guys, I'm using the below so I can put JSON file in an object and read each property: #Ensemble 0 7 0 329
Question Rochdi Badis · May 22, 2022 Convert JSON to objectstream Hi Guys, I'm running Ensemble 2014 and I'm using this to convert JSON to object: class(%ZEN.Auxiliary.jsonProvider).%ConvertJSONToObject but how can I convert to %CharacterStream because I'm saving a %CharacterStream field Thanks #Ensemble 0 1 0 231
Question Rochdi Badis · May 22, 2022 Using a Service to get data (Inbound or outbound adapters) Hi Guys. I'm a newbie in productions and services and I'm using this code to get HTTP response with JSON file, is a way to do this via a production service? #Ensemble 0 2 0 205
Question Rochdi Badis · May 17, 2022 Get HTTP response using Token Hi Guys, I'm using the below code to get a JSON file using a Token, I can get json file with not problem from the the command prompt as below, #Ensemble 0 3 0 385
Question Rochdi Badis · May 17, 2022 Create aJSON file Hi Guys, How do I create a JSON with the below structure pls: { "field 1": "123", "field 2": "1.1.1", "field 3": "4.428", "Lines": [ [ 0.00523, 0.00952, 0.01626 ], [ -0.00303, -0.00286, 0.00387 ], [ 0.00110, 0.00814, 0.00800 ], [ -0.00991, 0.00952, 0.00800 ] ]} thanks #Ensemble 0 2 0 252
Question Rochdi Badis · May 16, 2022 Handling HTTP requests with InboundAdapter Hi Guys, I currently have a service that uses an InboundAdapter to get a JSON file and process it given that the client is pushing data to us, but now we have another client where we need to request the JSON file by sending a HTTP request then get the file and process it, kind of a Get rather than push, how can I create a service that handle that? #Ensemble 0 1 0 257
Question Rochdi Badis · May 16, 2022 Send HTTP request and get a response Hi Guys, is there a sample code where I can basically send a HTTP request given a URL and authentication and handle the JSON response? Thanks #Ensemble 1 10 0 1.2K
Question Rochdi Badis · May 15, 2022 Collapsible or expandable Tablepane Hi Guys, How do I add another tablepane or gridview to make my tablepane look like expandable and collapses back as in the below pic? so basically I would like to add a child tablepane or gridview for each row that populate the related details for it. #Ensemble 0 1 0 179
Question Rochdi Badis · May 9, 2022 Convert %CharacterStream to JSON and JSON to %Stream.GlobalCharacter Hi Guys, Can you pls let me how to convert %CharacterStream to JSON and also how to Convert JSON to %Stream.GlobalCharacter? Thanks #Ensemble 0 3 0 954
Question Rochdi Badis · May 8, 2022 Handling %GlobalCharacterStream in a Production Service Hi Guys, #Ensemble 0 2 0 245
Question Rochdi Badis · May 7, 2022 Cloning a class Hi Guys, we have a class with over 24 million records and despite indexes querying is still slow, so we are looking to create a copy or clone of our current class have an scheduled task that runs every night or month, copy old records this new clone (eg. from last month) and remove old them from our current class. #Ensemble 0 6 0 407
Question Rochdi Badis · May 7, 2022 HTTP request using a curl Hi guys, How do I create a make a http request using curl, I've found samples on how to do it from a command prompt but how to create and make a http post request and get a response with ensemble object and functions? I guess somthing like : #Ensemble 0 2 0 488
Question Rochdi Badis · May 4, 2022 HTTP post request Hi Guys, How do I do a HTTP post request using a curl and get a response, the response should be a JSON file ? a sample code would be really appreciated. Thanks #Ensemble 0 4 0 358
Question Rochdi Badis · May 3, 2022 Resultset to JSON Hi Guys, How do I convert a Query resultset to JSON file ? Thanks #Ensemble 0 4 0 570
Question Rochdi Badis · Apr 27, 2022 Maximum allowed System Tasks Hi guys, We have created a utility to allow users to create a System task for a list of items the same way it’s done via SMP (attached below), the problem is that there may items and those systems tasks will grow a maybe exceed a couple of thousands so : #Ensemble 0 1 0 205