Hi, Community!
Please find a new session recording from Global Summit 2017:
Building Durable APIs: New REST Tooling
Application Programming Interface (API) is a set of subroutine definitions, protocols, and tools for building application software. In general terms, it is a set of clearly defined methods of communication between various software components.
Hi, Community!
Please find a new session recording from Global Summit 2017:
Building Durable APIs: New REST Tooling
Hi Guys,
Can you please guide me to get rid of this issue. Please find the image files with this post.
Please let me know, before we are developing an API what are all the setup/Configuration(Apache/web server) need to do in my machine.
If any lead would be appreciated.
I don't know, in XMLNamespace parameter which URL need to use.
.
Thanks,
Arun Kumar Durairaj.
In short, I wanted to react on CPUusage warnings and alerts with my own actions. It seemed that it was possible in my Caché version (2015.1):
http://docs.intersystems.com/cache201513/csp/docbook/DocBook.UI.Page.cl…
But all my attempts silently failed. Callback code was as simple as possible:
Class %z.Monitor.Health Extends SYS.Monitor.Health.AbstractCallback{/// This method is called for every Health Monitor sensor reading.<br>///...
Method Callback(type As %Integer, sensor As %String, value As %String, mean As %String, sigma AsGreetings.
We have one vendor who requires us to send data using TCP
through an SSH port forwarding tunnel that is set up in advance.
UNIX scripts maintain this, and the Ensemble interface uses a TCP Adapter.
I was thinking that Ensemble could maintain the SSH tunnel,
which would improve our detecting of issues.
Has anyone done something like this?
I see that the class %Net.SSH.Session has a method ForwardPort,
but it doesn't stand up the tunnel by itself. Instead, it appears
to return a handle into the tunnel. It will work a bit differently.
Thanks
Seth
• meth
Hi,All,
I did a small coding for the HTTP request and HTTP response. When i tried to use a server with ping i was able to get a response from the HTTP request. But when i tried the same with HTTP response i am getting a empty value in the response why is that?
Thanks in advance.
Guys,
Can you please guide me to create a RESTful API in our cache with JSON response.
I have an application in Cache 2013 (No Ensemble) which need to consume a REST web API over internet.
Can somebody please help me by pointing out the documentation or provide me code sample for consuming the REST API from a routine/class.
I am using Cache 2008 (No Ensemble) .
Hello.
We're about to implement an application that could use WebSockets intensely so before we head to that direction we need to figure out about how some few things work. That being said, anyone care to give me some enlightenment?
Hi, folks!
Suppose you called an MDX which takes a really long period of time.
Is there any way to cancel its execution programmatically?
Is there any Test Driven Development tool for Cache for the web development. If so can any one help me on this.
Thanks in advance.
Hi-
I have an IP address (or hostname) and a port (in this case a super server port #) and I want to try to verify that network communications can be established between the host I'm on and the given hostname and port number of a remote server.
Is there any way pragmatically to do this within Cache?
Hi all-
We used to have this Java applet in our CSP page to "print all" and "download all" PDF medical reports. We want this applet so that the user won't have to open each PDF in the browser just to print it.
But now most browsers do not support Java applets anymore due to security concerns, so that Java application is down. We tried to migrate to Java Web Start but don't know how to invoke the JNLP file from the CSP page. I am new to Cache so any help would be greatly appreciated.
Also, is there an easier solution to this print all problem? I assume many hospitals/labs would be facing
If you are facing out the license expire warning message on your terminal ("*** Warning: This Cache license will expire in 3 days ***") and you do not want that message to be displayed, you can disable/enable that by rinning the following commands:
Do ExpirationMessageOff^%SYS.LICENSE - Disable
Do ExpirationMessageOn^%SYS.LICENSE - Enable

Recently we supported a few NHS cases that required TIE (Trust Integration Engine) integration with the PKB service. Hence this article is meant to be a 10-minute quick guide to describe a demo solution (simple configurations and end-2-end implementation steps) for Health Connect (Ensemble) Integration with PKB (Patient-Knows-Best) service.
Hi guys
Im trying to use an API running in AWS API Gateway.
This API is over https and i am using the SSL/TLS config of Caché.
set httpRequest = ##class(%Net.HttpRequest).%New()
set httpRequest.Server = server
set httpRequest.Https=1
set httpRequest.SSLConfiguration = "SSLPadraoAdapcon"
do httpRequest.SetHeader("Content-Type","application/json")
do httpRequest.EntityBody.Write(json)
do httpRequest.Post("/dev/router")But im getting this error:
| SSLConfiguration = "SSLPadraoAdapcon" | SSLError = "SSL/TLS error in SSL_connect(), SSL_ERROR_SSL: protocolerror, error:14077410
MonCaché — MongoDB API implementation based on InterSystems Caché
The idea of the project is to implement basic MongoDB (v2.4.9) API features for searching, saving, updating and deleting documents in a way that will allow the use of InterSystems Caché instead of MongoDB without changing the code on the client side.
Perhaps, if we take an interface based on MongoDB and use InterSystems Caché for data storage, we may see a performance boost. The project was started

Does anyone send alerts via API / Web Services to an application such at Tivoli or CA Spectrum? If so, can you share what commands you send? e.g. If connection is down or queue depth > 200. Thanks.
Hello everybody,
We have a piece of Caché software which calls an external utility using $zf(-1,command). It works fine under Linux, but under Windows an external process occasionally hangs (due to some internal problems out of the scope here) and need to be killed programmatically. Having PID, it's easy to kill a process. If a Caché process is called with JOB command, the caller can easily get its PID from $zchild, but alas $zf(-1) does not seem to return the similar info. Is it possible to get it somehow?
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 server
Can someone help me identify what I am missing? Thanks
Class Common.WebDownload Extends (%RegisteredObject, %XML.Adaptor){ClassMethod Connect(){ Set aa=##class(%Net.HttpRequest).%New() Set aa.Server="https://www.actualwebaddresshere.com" Set aa.Location="/service/actual location path and my API key here/" Set aa.ContentType="text/xml" set bb=aa.Get() breIs there an available API for creating a business service? Is it just a table that Business Service Wizard is inserting the data into or it is something more?
Hi Every Body
I'm studying AngularJS now ( looking for a substitute for my zen-mojo application ) , I would like to understand how can I connect from the client (AngularJS) with the server , passing data & invoking methods server side.
Hi,
I would like to retrieve the O.S version (Windows or Unix) and Cache installed directory.
which COS apis should I use ?
Thanks for your help.
I would like to invoke some unix/windows commands from COS, any API could do that?
Also, I would like to set up some Environment Variables for this process which would execute the above external command.
Anyway to achieve that?
Thanks for your help.
Hello,
I am wondering if there any mechanism available in the Healhtshare where send a request from the service to the operation without storing the Data on CACHE.DAT?
My company going to receive ADT's and CCDA's from an external source (Hospital), The incoming data will have two kinds of patients, our patients, and not our patients. We do not want to keep the data on our servers of those patients that do not belongs to our company due to HIPPA complaint
Looking forward to hearing great ideas from this community.
Thank you
Raghu
Greetings.
I'm trying to do some experiments using the Atelier REST API, but I noticed a bug that I simply can't bypass.
When requesting the Atelier server asking for an array of docs, it seems to fail when using it with multiple formats.
Like: [ "RCWWW015.int", "Class.cls" ]
While this method does return the class's source code, it fails when fetching the routine.
Like this:
{
"name": "RCWWW015.int",
"db": "DEV",
"ts": "2017-01-24 11:37:05.851",
"upd": true,
"cat": "RTN",
"status": "ERROR #5001: Missing Source for Document: RCWWW015.INT",
"enc"
Hello,
I am interested in working with a third-party API in my instance of the Community Portal. I was curious as to how you all work with third-party apis. Do you typically connect directly from within a ZEN Mojo Page or do you route the request through an operation in the management portal? Are there any sort of best practices I should be aware of?
Thanks,
Bob
Hi. What notifications are available, if any, when any part of an SDA has been modified (inserted, updated, deleted, etc...)?
Thanks in advance.
I've got an issue trying to write a code which should add some global mapping to already existing namespace. Here is its skeleton:
Due to a new project I'm getting involved inside %Installer stuff deeper than ever I'd be happy to. Most of it was pretty easy to get, thanks to documentation, articles and SAMPLES example, while I can't dig good solution for one problem. I'm trying to import and compile some classes, willing to ignore two types of errors: 5202 (NothingToCompile) and 5373 (PredecessorClassDoesNotExist - a normal case when SNMP sampling class is compiled for the 1st time, before it was registered).
I've tried the following:
<If Condition='#{##class(%File).Exists("${AddonDir}/AddClasses.xml")}'><ImportHi-
I know that you can run the %Reset method within %DeepSee.Utils to reset all of the DeepSee tasks and reset the entire result cache.
Is there any way to invalidate the result cache for a single cube?