Ensemble

Syndicate content 73 

Each business component in Ensemble picks up its allocated jobs from a pool, and the Pool Size setting for each component determines how many jobs each component can work on each time. In this article we will be specifically discussing different Pool Size settings for Business Processes.

                Pool Size = 1

Last comment 13 October 2016
+ 3   0 3
402

views

+ 3

rating

Beginner’s guide to RESTful Application Program Interface (API) design and documentation. Through the example you will learn some common pattern for RESTful API.

Before you read

You need to know

+ 2   0 5
0

comments

2034

views

+ 2

rating

The goal of this writing was to illustrate how to restore backup before the patch would be applied. The alert notes that: 

The risk can be avoided by applying journals from the beginning of the journal file that was switched to at the start of the backup, rather than accepting the default of starting from the journal marker position.

Having non-patched Caché 2015.1.4, I ran sample database backup and restore just to get where I should answer "No". Collecting journal info from the backup log: 

+ 5   0 2
0

comments

202

views

+ 5

rating

We are interfacing through Ensemble with an application that does not like diacritic signs in text. I have been searching for a way to strip these signs from the HL7 messages that get send to that application. 
The problem in short is we have an incoming HL7 message with e.g. é (or ë, á etc), this goes into Ensemble. In the outgoing message the é should be replaced with an e. 

Last answer 11 October 2016
+ 2   0 1
0

comments

178

views

+ 2

rating

I have to connect to an external database and I'd like to use the JDBC SQL Gateway.

I followed this tutorial [1] to create a JDBC SQL Gateway and after configured it works as expected, but I don't know

how use this connection into source code. Maybe these other tutorial is related [2] and [3].

 

[1] http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...

Last answer 5 October 2016 Last comment 7 October 2016
+ 1   0 0
417

views

+ 1

rating

maybe I am not looking in the correct spots, but how should one handle an Exception from a SOAP web service within the Business  Process Language? For example I am sending a request to a Web Service to try to get information, but the response I am getting is an Exception like "Patient Not Found".

 

Is there a function I can call to check the response similar to what I do to check a SQL Snapshot to see if it is valued?

 

Thanks

Scott Roth

Last answer 6 October 2016 Last comment 6 October 2016
0   0 2
455

views

0

rating

A beginner’s guide to Exception Handling in RESTful web services. The article gives an example how the various error conditions during processing a service request can be handled.

We expect our client – server communication working in a flawless operational condition, running error free software. But we are prepared to handle exceptions. Are we? So far in the examples of the previous sessions were not. We did not care about exceptions. The result? In any error incident it took ages to figure out what the problem is and more importantly how to fix it.

Last comment 6 October 2016
+ 3   0 7
785

views

+ 3

rating

I'm trying to read PID-3 and route the message based on if a certain prefix existed, but I keep getting Property Does Not Exist.

I've tried

HL7.(PID:PatientIDInternalID()) Contains "COS"

HL7.(PID:PatientIDInternalID(1)) Contains "COS"

HL7.{PID:PatientIDInternalID()} Contains "COS"

HL7.{PID:PatientIDInternalID(1)} Contains "COS"

This is a 2.3 MDM message. Thanks!

Last answer 5 October 2016
0   0 2
0

comments

281

views

0

rating

This article gives a brief introduction how a RESTful service consumer and a RESTful service provider exchange data. It is a beginner’s guide. Data is transferred from a consumer to a provider as parameters of the service. Parameters are part of a service request. The result of the service action a response is returned from a provider to a consumer. Both the service request and response are standard HTTP messages. Since HTTP is a flexible standard regarding to the message contents, RESTful services also enjoy the versatility of data transfer methods.

+ 3   0 4
0

comments

2380

views

+ 3

rating

Hi All

 

I have a question on working with dev and prod environments.

 

After project is ready and signed, I usually migrate outcome to production using the export tool from the studio.

For changes/adding to existing projects, I exclude the production class (as it has some different values differing the dev from the live) and I add the differences manually afterwards.

 

My questions on migrating are:

Does anyone has (to share) his/her best practice steps on "migrating dev to prod"?

Last answer 30 September 2016
+ 2   0 1
0

comments

227

views

+ 2

rating

I want Healthconnect to be the middle man between my client and my respository vendor. I've setup

HS.IHE.XDSb.RepositoryServices > HS.IHE.XDSb.Respository.Process>HS.IHE.XDSb.DocumentSource.Operations

 

Is this the correct approach?

 

Last comment 28 September 2016
0   0 2
0

answers

176

views

0

rating

Cross-origin Resource Sharing (CORS) is one of the basic security features built into browsers. CORS controls accessing resources from a HTML page in domains other than the original domain. It is particularly important for AJAX calls. Since RESTful services can be used as data provider to any AJAX call, you have to be able to control cross-origin access. By default services are not allowed to do CORS. You are going to learn how to enable it for Ensemble RESTful services.

+ 3   0 1
0

comments

868

views

+ 3

rating

This is a detailed guide to develop RESTful services using InterSystems Ensemble. The goal of this guide is to make you understanding the basic concept and building blocks of a RESTful service. The service is going to provide a very basic functionality (a “Hello world!”).

You will learn how to create required components as Ensemble classes, configure the run-time as an Ensemble Production and create a service configuration as a web application.

+ 3   0 4
0

comments

1213

views

+ 3

rating

Preface: our small, but very ambitious company called “Black Mushroom Studio” came up with an idea for an e-commerce project and a mobile app that would let users pay for certain goods/services via a payment aggregator.

 

What we had initially: an Android app skeleton that, of course, liked communicating via HTTP and JSON, and a payment system with an API – web services with SOAP content.

 

Goal: make it all work together.

Last comment 22 September 2016
+ 15   0 7
1041

views

+ 15

rating

Hi-

Can someone please explain the affect of the Failure Timeout on an ensemble business operation with a EnsLib.HL7.Adapter.TCPOutboundAdapter

Is this setting indicating the number of seconds that the operation will attempt to resend a message to a target before it fails?

How does this setting affect message processing of messages that fail because of a missing or failure response code that comes back in an HL7 message response?

Last comment 22 September 2016
0   0 2
0

answers

482

views

0

rating

A beginners guide to develop Ensemble RESTful web services.

Background

Before you start reading this short introduction please go through the on-line documentation of Ensemble with special attention to chapter “Creating REST services and clients with Ensemble”.

The approach in the documentation is undisputable the fastest and easiest way to create RESTful services. As a beginner I went through the documentation and I had several questions. This short article is listing those questions plus my humble answers.

Last comment 22 September 2016
+ 9   0 7
1486

views

+ 9

rating

Hi all,

We're in the process of creating several courses for creating custom business components for productions. This includes custom business operations, BPL processes, and custom business services. Custom Business Operations and Custom Business Services are both aimed at software developers while BPL processes can be also be created by business analysts. What are some gotchas or best practices you've learned that you wish you knew when first building these components?

We'd love to include what you've learned into these courses so others can learn from them as well!

Last comment 21 September 2016
0   0 0
0

answers

205

views

0

rating

Framing refers to the characters that mark the start and end of an HL7 message (or other types of framed messages).  Most HL7 services and operations have a Framing setting that allows the user to define this framing.  The most common choices are available as defaults, but with the AsciiMM/NN setting, components can be configured to recognize any framing characters.

+ 4   2 2
0

comments

710

views

+ 4

rating

I need to deploy an Ensemble production to several different clients.  Each client requires certain production settings to be set specific for them, things like pool sizes, IP addresses, SSL configurations, etc.

What is the best way to customize configuration settings when a production is deployed?

 

Last answer 20 September 2016
0   0 1
0

comments

173

views

0

rating