Find

Question
· Aug 17, 2016

Setting ContentType in Rest Service

Hello,

I am working on a Rest Service that should accept a particular content type. How and where can I set the value?

I have tried setting the value %response.ContentType by overriding Page method OnPreHttp()  but from what I see this method never got executed. 

 

Thanks

Raghu

13 Comments
Discussion (13)0
Log in or sign up to continue
Question
· Aug 12, 2016

Excercise for cache

Are Excercise parts avilable in documentation of InterSystems cache . Please Give the link. Thank you

1 Comment
Discussion (1)0
Log in or sign up to continue
Question
· Aug 12, 2016

Cache with database

Sir, please give a sample program for cache with database . It is useful for my individual learning. 

2 Comments
Discussion (2)0
Log in or sign up to continue
Question
· Aug 4, 2016

Call/execute *.exe on windows from objectscript

Hello,

we build a COS-application which includes classmethods for running a simulation calculation (differential equations by Runge Kutta procedure) which runs well but needs too much time.  This is embeded in Cache Server Pages and we tried already to start the simulation as a JOB to avoid the CSP-timeout. However the Job needs of course also too much time. May be this could be solved by a different strategy to run the simulation calculation by an external Windows -Programm (developed with Delphi). Original the application for simulation was developed in Delphi, where it needs a significant shorter time than in the COS-application.

Our question is how can we start and execute the windows-programm from a Cache Server Page?

Any hint is welcome?

Lutz.

8 Comments
Discussion (8)1
Log in or sign up to continue
Discussion (1)0
Log in or sign up to continue