Question George Hodder · Feb 19, 2021 Help with class query in SYS.Database Hi, I am wanting to get the results of SYS.Database class's List query into a result set. #Caché 0 2 0 319
Question George Hodder · Feb 16, 2018 Using UnitTest for a RestService I am trying to use the automated unittest class for a %CSP.Rest service.So my Unittest code set's %request and %response from %CSP.Req/resp respectivelyI build a tProxy with the fields I need for the post and set it %ToJson... I have tried seting %request.Content = tProxy (and not)I call the method for the post url directly... When that method calls %fromJson to set an object with the info. I passed... - when I don't set %request.content.. I get a error '5035 - premature end of data code 12' #JSON #REST API #Caché 0 7 2 1.2K
Question George Hodder · Feb 2, 2018 OAuth2.0 with ZAUTHENTICATE routine and Rest service Hi.. I have an issue where we are using OAuth2.0 with the ZAUTHENTICATE routine. Once our token is validated we are using a users lan id (passed on the ID token) to find a software defined username in a Cache Global.That is all working fine in ZAUTHENTICATE.. I am setting the software defined username in the Properties("Comment") array and wanting to reference it in the Rest Service Dispatch class. #Beginner #OAuth2 #REST API #Caché 0 6 0 839
Question George Hodder · Jul 17, 2017 Connecting to a web service Hi,I am new to coding web services and trying to connect to an API that returns its format in xml or json.I have a class as follows.. when I run I get back a 6059 in my status - Unable to open TCP/IP socket to serverCan someone help me identify what I am missing? Thanks #API #Beginner #REST API #Caché 0 12 0 3K