Question Yone Moreno · Feb 7, 2020 How could we include JSON objects inside a POST request?‽‽ Hello, We would like to submit a JSON using Ensemble. Here we have the JSON structure: { "app_id": "e47322de-64c8-43c5-a1b7-42aa6409eb48", "headings": {"en":"Cita Atencion Primaria","es":"Cita Atencion Primaria"}, "subtitle": {"en":"C.P. ISORA","es":"C.P. ISORA"}, "contents": {"en": "Next appointment", "es": "Siguiente cita"}, "data":{ "centro": "C.P. ISORA", "fecha": "yyyy/mm/dd", "hora": "hh:mm", #ObjectScript 0 3 0 863
Question Yone Moreno · Feb 6, 2020 How could we add InclusiveNamespaces tag inside Signature, when we sign a message?‽‽ Hello, We have the following code: #ObjectScript #Caché 0 1 1 398
Question Yone Moreno · Feb 6, 2020 Call instance method inside WSCLIENTE, to set signature method?‽‽ Hello, I would like to change signature's algorithm to be sha1. I share the current code: (BINARY SECURITY TOKEN and USERNAME TOKEN CODE omitted) #ObjectScript #Caché 0 1 0 139
Question Yone Moreno · Feb 4, 2020 How could we get columns' data inside %Library.ProcedureContext and %SQL.ClassQueryResultSet ?‽? Hello, I have created my first table in Ensemble: And I have added a row using the Production: We would like to query it, and we would expect to get a row wih all the previous' image data. I have tried, inside a code block in a Bussiness Process: #SQL #Ensemble 0 3 0 317
Question Yone Moreno · Jan 11, 2020 Bussiness Process rule to filter out messages when they include a specific segment‽ I am trying to create a rule which filters out ADT_A08 messages, when they have an OBX segment and their EVN.4 is "COD" or EVN.4 is "FIN" The attempt is: I have sent messages with EVN.4 COD or FIN and they are filtered out correctly However if I remove EVN.4 and leave just the OBX filled up, the message passes from the Process to the Operation. #Business Rules #Ensemble 0 3 0 399
Question Yone Moreno · Nov 29, 2019 How could we create a JSON which works on version 2016.1 ‽‽‽ Hello, We need to send data to an API using form_data as follows: Using Ensemble 2017 we would use dynamic objects as: set body={}.%Set("app_id",pRequest.appId).%Set("contents",contents).%Set("include_player_ids",pRequest.idsDispositivos) #Caché 0 3 0 335
Question Yone Moreno · Nov 28, 2019 Iterate over object properties which name contains underscore _ ‽‽‽ Hello, I would like to learn how to iterate over object's properties which name contains underscore _ For example, the API gives to us the following message: [ #Studio #Caché 0 1 0 746
Question Yone Moreno · Nov 19, 2019 WSDL Import Wizard: ERROR #6413: Element 'wsdl:binding:operation:msg': corresponding to message null : http://services.sanidad.... ‽‽ Hello I am trying to import a WSDL using the wizard and it outputs: ERROR #6413: Element 'wsdl:binding:operation:msg': corresponding to message null : http://services.sanidad.... I have tried to find more information: It is close to this case, however it is not the same error number: #SOAP #Studio #Caché #Ensemble 0 1 0 409
Question Yone Moreno · Nov 12, 2019 REST API outputs SSL Configuration error‽ Hello good afternoon! We're testing a REST Operation, to View Devices using OneSignal API We are sending the request from Production's Operation Test tool, using the following code: What happens is that it tells us error of SSL Configuration: #REST API #SSL #Ensemble 0 1 0 933
Question Yone Moreno · Oct 13, 2019 Using class queries to select all rows and return an array: unexpected behaviour We have in DB two books, first is loaned because it has the Friend ID, and the other is in the shelf. I execute a class query to get all loaned books: Query BooksLoaned() As %SQLQuery { SELECT * FROM Library.Book WHERE Friend IS NOT NULL } Which I have tested throught the portal: #Code Snippet #SQL #Caché #Ensemble 0 6 0 422
Question Yone Moreno · Oct 13, 2019 What is inside a Package.Class and s not property, nor method nor parameter? I am reading the following code in ObjectScript: GitHub repository And there is a sentence which I am facing difficulties to understand: kill ^OPNLib.Game.CWLF(..World) I know that kill removes variables, OPNLib.Game are the package and subpackage, and ..World is a property. However what does CWLF mean? You could think that it is the class' name, but it is: #Code Snippet #ObjectScript #Caché #Ensemble 0 2 0 216
Question Yone Moreno · Oct 11, 2019 Bussines Process ends abnormally I am sending a HL7 message from a Service called Servicios.Interconsulta PeticionInterconsultav01r00 to a Bussiness Process Process called EnrutadorVisa doMedicamento using SoapUI #SOAP #Ensemble 0 2 0 460
Question Yone Moreno · Oct 11, 2019 Import a WSDL to generate SOAP Operations I have the following message when I try to import a WSDL to generate a SOAP service: ERROR #5319: The type of a property of a class series cannot be recurring: SeleneHL7Service.hl71.escapeType:escape > ERROR #5030: Error occurred while compiling SeleneHL7Service.hl71.escapeType class I have found in the documentation: 5319 The type of a property in a serial class cannot be recursive: %1 #SOAP #Caché 0 1 0 482