go to post Sarvan Ibishov · Feb 1, 2018 I solved problem. But it also weird. When studio is open it returns "Service Unavailable" in browser, but when close studio it works OK.
go to post Sarvan Ibishov · Feb 1, 2018 My, isc.REST code at below. UnkownUser is enabled. I just download Evaluation edition. Not, production edition. So, just trial. Is it obstacle for it? Include isc.REST/// Class for REST-like web api.<br>/// Logic related to request processing goes here.Class isc.REST Extends isc.AbstractREST{XData UrlMap{<Routes> <!-- Test method--> <Route Url="/test" Method="GET" Call="Test"/> <Route Url="/logout" Method="GET" Call="Logout"/> </Routes>}/// End sessionClassMethod Logout() As %Status{#dim %session As %CSP.Sessionset st = %session.Logout(1)set %session.EndSession = 1return st}/// Test method, outputs <b>%request</b>, <b>%response</b> and <b>%session</b> objects. ClassMethod Test() As %Status{ write "{""Status"": ""OK""}" return $$$OK}}
go to post Sarvan Ibishov · Jan 29, 2018 But, I had compiled source from studio :) Interesting.Thank you so much.
go to post Sarvan Ibishov · Jan 29, 2018 Insert doesn't return any error. Insert worked. Thanks. So, Problem was with compiling source? But while run this sql in management portal I couldn't see chapters column. select * from Test.Book
go to post Sarvan Ibishov · Jan 29, 2018 I complied sources 5-6 time. Hasn't any reaction. Yes, error looks like this: USER>do b.Chapters.Insert(c1) DO b.Chapters.Insert(c1)^<PROPERTY DOES NOT EXIST> *Chapters,Test.Book