Question Thomas Noitz · Jul 8, 2020 %JSONExport and Integer-Properties Hi everyone, when I'm using the %JSONExport-function on Caché-Objects containing properties of type %integer, %numeric or %boolean, this properties are all automatically converted to Strings in the JSON-Output. Is there a way to get around this type-cast? Example: Result with %JSONExport: maxOrderable and maxReserveable are of type %integer, deliverable and assembly of type %boolean. All 4 properties are shown as quoted Strings. #JSON #Caché 0 11 0 499
Question Thomas Noitz · Jul 30, 2018 SOAP-Services with Caché OS - ignore order of elements Hi,is there a way to tell Caché to ignore the order of elements when hosting a SOAP-based webservice?At the moment I keep getting the Error-Code #6237 (Unexpected tag in XML input) when the request is not in the exact same order as defined.Looking forward for your answers.Regards,Thomas #ObjectScript #SOAP #Caché 0 4 0 850
Question Thomas Noitz · Apr 3, 2018 Comparing Cache-Objects Hi guys,is there an easy way to compare two objects in os?Example:I have a registered order-object at runtime. Now I want to call a specific export-service just in the case that sth in this order has changed since the last export. So I have to compare the persisted order-object (last export) with the current order-object.Ist there an easy way to compare these two objects or do I have to check each object-value separately?Thanks for your help!Regards, Thomas #Object Data Model #Caché 0 1 0 858
Question Thomas Noitz · Dec 1, 2017 REST-Service Call-Parameter Method in other class Hi guys, is there a way to get the Call-Parameter in an UrlMap to call a method that lies in another class? Example: I have a generic class 'RestApi' where I define all my routes for the different Rest-Services I offer - in order to get the same URL for every service. #Caché #REST API 0 4 0 667