Hi,
Can I reference the 'request' object when setting default values for context variables?
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
Hi,
Can I reference the 'request' object when setting default values for context variables?
Hi,
Connections/ SOAP Operations to 3rd Parties can hold some challenges like the 3rd party changes it 's structures/ WSDL and returns an additional property in a SOAP response. So I have tried to implement the XMLIGNOREINVALIDTAG in the proxy SOAP response structures , but in Ensemble this seems to get ignored.
Are there any good suggestions on how to handle this an ideal would have been that the other party inform you of changes before hand....
Or we can ignore the tags, and inform the operations of such problems but the rest of the response message is valid and could be processed
Best regards
Hello,
I have some issues trying to store a base64 encoded stream into the obx:5 segment.
I'm using the StoreFieldStreamBase64 method in my business process to store the stream into the segment.
I'm sending the hl7 message containing my stream to an ensemble business operation (EnsLib.HL7.Operation.FileOperation) to write the message on disk.
When i'm reading it with an ensemble business service, it can't parse the stream because it contains multiple CRLF.
Why is my business operation splitting my stream into multiple newlines ?
Ensemble ver : 2016.2
Kami
Hi,
Is it at all possible to protect certain properties / message fields that is sent via Ensemble from within Ensemble.
Alternatively to mask it when displaying in the message view Body /Contents tabs.
We could send in the fields encrypted but I was hoping that we could just hide or mask the fields.
Any ideas on this.
Below is a simple alert processor based on the EnsLib.HTTP.OutboundAdapter to send text alerts via an SMS Gateway service. Typically, all that is needed to send an HTTP Post to the gateway service is the destination phone number, a source phone number, credentials, and the URL.
The code below is based on the Anveo gateway whose interface is as follows:
Class Hospital.TextMessageAlert Extends Ens.BusinessOperation
{
Parameter ADAPTER = "EnsLib.HTTP.OutboundAdapter";
Property Adapter As EnsLib.HTTP.OutboundAdapter;
Parameter INVOCATION = "Queue";
/// The phone number that receives the text message
Hi,
I have a routing rule that calls some utility classmethods, but for some reason the compiled version insists on linking to a utility function in a different package.
The call to 'SendToEaling(HL7)' in isn't compiling to a call to the LNWTIEPackage as expected:
##class(LNWTIEPackage.RoutingRules.Utility).SendToEaling((pContext.HL7))
but is instead becoming a call to the LNWDeploy package
##class(LNWDeploy.RoutingRules.Utility).SendToEaling((pContext.HL7))
Specifically
<assign property="@SendToEaling" value="SendToEaling(HL7)"></assign>
gets compiled to
set
Hi all,
We have a big problem because we have the following message when I try to open the messages in a production.
ERROR <Ens>ErrException: <DATABASE>zfindStatement+29^%SQL.DynamicStatement.1 ^%sqlcq("MYNAMESPACE","Query",8,"Gns8AZO5dJclytqv13l9gUuLUyo=",""),c:\intersystems\healthshare\mgr\cache\ -- logged as '-' number - @''
SOURCE ELEMENT: %ZEN.Component.tablePane (resultsTable)
I already talked about GraphQL and the ways of using it in this article. Now I am going to tell you about the tasks I was facing and the results that I managed to achieve in the process of implementing GraphQL for InterSystems platforms.
In a EnsLib.REST.Operation I have...
Set tSC=..Adapter.Post(.tHttpResponse,,pRequest.stream)
This sends JSON string over HTTP
I am getting this error back from the server
ErrHTTPStatus: Received non-OK status 415 from remote HTTP server: 'HTTP/1.1 415 Unsupported Media Type'
I have been told that the media type should be "JSON"
how do I go about changing the media-type of the HTTP Request?
Trying to get an outbound operation working using the EnsLib.REST.Operation class but having problems
from the Operation
Class LPCH.FSE.DictionaryItems.All.Operation Extends EnsLib.REST.Operation
{
Parameter ADAPTER = "EnsLib.HTTP.OutboundAdapter";
Property Adapter As EnsLib.HTTP.OutboundAdapter;
Parameter INVOCATION = "Queue";
Method ProcessTaskEX(pRequest As Ens.Request, Output pResponse As Ens.Response As %Status
{
// Get URL
Set tURL=..Adapter.URL
// Execute the call
Set tSC=..Adapter.PostURL(tURL,.tHttpResponse)
//Return the response
If $$$ISERR(tSC)&&$I
Hi community,
I've created a BS that uses FTP InboundAdapter. It works, read the file and process it.
The problem is when there not any file in the FTP folder, it raises the following error:
ERROR <Ens>ErrFTPListFailed: FTP: error en List para *.csv (mensaje='No-transfer-time exceeded. Closing control connection.',código=421)
I think it is something about the configuration, but I don't find what is the problem.


Any idea?
Best regards,
Francisco Lopez
I want to call java method and return $lb structure from it.
JDBC jar seems to contain relevant class - com.intersys.jdbc.CacheListBuilder, but so far I only managed to return a string that looks like a list.
Here's my java code:
package isc.poi;
import com.intersys.jdbc.CacheListBuilder;
import java.sql.SQLException;
public class Test {
public static String Test() throws SQLException
{
CacheListBuilder list = new CacheListBuilder("UTF8");
list.set(123);
list.set(456);
list.set("\"abc\"");
return list.toString();
}
}And
Hello Everyone,
I have a healthshare web application with production, I try to make a field in basic setting of business service, and I would like to set a string to DISPLAYLIST and VALUELIST of that Property (string maked by query to sql table). I code the same here but it's syntax incorrect in DISPLAYLIST = GetTypeDisplay(), VALUELIST = GetTypeValue(). Someone know a best way to solved my problem? Thanks so much!
Class Demo.RegDataService Extends Ens.BusinessService
{
Property xmlTagName As %String(DISPLAYLIST = ",EDocument", VALUELIST = ",Demo.EDocument");
Property PrdType AsWe have a new requirement being push down by our Data Security to no longer use Local SQL Accounts to access our Databases. So they asked me to create a Service Account that is on the Domain for our connections to each database.
I tried just changing my JDBC connection to using this Service Account and Password but I am not having any luck trying to connect to the database.
" Connection failed.
Login failed for user 'osumc\CPD.Intr.Service'. ClientConnectionId:ade97239-c1c8-4ed1-8230-d274edb2e731 "
In reading some of the material about using a Domain Service Account it mentions having kerberos
Hi,
I'm trying to execute a function in a loop using studio but I'm having an error; "ODBC driver for sql server Invalid precision value"
Any help please?
Example :
for i=1:1:2{
...
SET expression1 = "exec [po_dm].[dbo].[UP_ED_TE_IT] @P__TE_IT_ID = ?, @P__TE_ID = ?, @P__TE_RA_ID = ? ,@P__TE_VAL = ?, @P__LOW_REF = ?, @P__HIGH_REF = ?, @P__LOW_CRI= ?, @P__HIGH_CRI=? "
set pars(1) = -1
set pars(2) ="A"
set pars(3)= "A"
set pars(4)="B"
set pars(5)="C"
set pars(6)="D"
set pars(7)="E"
set pars(8)="F"
set pars = 8
set status = ..Adapter.ExecuteUpdateParmArray(.tRe, expression1,.pars)
}
It's working fine for the
Hi All,
I’m trying to create custom studio template (Menu Tool -> Template ->Template), Please suggest the way to create template.
Note: i'm using ENSEMBLE 2015.
Thanks,
Mohan
Hi everyone
I encountered this error while trying to access a web service (I send a test message with soap ui):
FEHLER #5002: Caché-Fehler: <CLASS DOES NOT EXIST> {my method &class name} .1 *(No name)
I am not able to understand what goes wrong. If I look at the trace on messages in the ensemble message viewer there are no errors. The response message displayed in the trace looks like it is successful but in the SOAP UI tool I get the error message in the response.
Do you have any suggestions?
Thanks a lot and kind regards
Milena
Hi,
Not sure if is possible, but I am trying to find the way to show in the log the username of whoever enable a specific service. The idea is that a service is normally disabled..if someone enable it, the username will be reported to the log...
I have tried with $username but it only return "_Ensemble" when running from ensemble although it works in Studio.
Thanks
We have one user that is having issues in Ensemble via browser. The two issues she reported are:
- If she opens a DTL, she has to Save or Compile the DTL before she is able to edit anything in the Actions tab. Typically, you can simply open the DTL, click on a line, and edit the Actions.
- If she opens the Tools tab and clicks the Test button, she does not get a response and it eventually times out on her. Typically, clicking the Test button will open a new window where you can paste a message to test your DTL with.
These issues transcend browsers.
What are the possible causes of the following warning in an Ensemble business process?
"1 open user transaction found; committing before Enqueue"
I am receiving this alert every couple of minutes. I am trying to figure out what is causing this and if it is just the settings on my TCP operation or if this indicates an actual issue. Is it an issue with my framing (MLLP) or reply code actions (not set)? Something else?
Error:
ERROR <Ens>ErrTCPTerminatedReadTimeoutExpired: TCP Read timeout (30) expired waiting for terminator SegTerminatorAscii=13, on |TCP|7049|12692, data received =''
(alert request ID=2071)
Screenshot:

Here are the settings on my operation:
| Class Name | EnsLib.HL7.Operation.TCPOperation |
| Stay Connected | 5 |
| Connect Timeout | 5 |
| Reconnect |
InterSystems is pleased to announce availability of a field test version of Caché and Ensemble 2018.1
These kits can be downloaded from the Field Test portal page.
There are hundreds of bug fixes, and several new features, including:
All platforms are available, except Oracle Solaris 10, 11 for x86-64.
We expect to update the field test kits about once a week, until release.
Hi,
I'm getting mad trying to get data from an external REST service that uses Basic Authentication from Ensemble. The BO worked fine when I was using a test server without authentification, but as soon as we need to go to production I cannot have it working.
So far, I've created the username/password at the credentials page (Ensemble-Configure-Credentials). I've setup the BO to use this credentials. But nothing happens.
I've tried with the Rest Client (addon for Mozilla), and using the same address, port and user/pwd works just fine.
So, the question is: how can I use the Basic authentication in
The REST webservice works perfectly when run on SOAP UI. This end point server is an https site that uses basic authentication (uname and pwd). But when I run the request through an Enslib.Rest.Operation using a configured SSL and stored credentials, I get an "unauthorized" error, unless I explicitly hard code the password in the operation class. HS Version is 2014.1 .
I have 2 questions. Pardon me, they are both related!!
1: How can the httprequest object be viewed in Ensemble?
I have a global that defines the instance that Ensemble is running under. I want to use this as part of another Global so I don't have to hard code a path.
For Example
^OSUWMCInstance = "TestClin"
^OSUMCLDAP("LDAPKey") = "/ensemble/^OSUWMCInstance/mgr/LDAPKeyStore/"
Is this possible?
Thanks
Scott
I have a process which is passed a .rtf within a GlobalBinaryStream. I am trying to then output just the .rtf to a folder on a server, but not even sure where to start.
Is there a Built in Operation that I can pass the GlobalBinaryStream to which will then write the file to a folder, or do I need to use a custom class for the operation?
Thanks
Is there a class Method that will return the number of OBX segments under the OBR segments? I see method ChildCountGet
and ChildCountGet is that the correct method any any examples how to use it?
Hi,
I have a question related with EnsLib.SQL.OutboundAdapter adapter.
Is there a way to open an oracle transaction and do either commit or rollback depending on the query result?
Is posible to keep open an oracle transaction to execute a lot of queries on different methods on the same business operation and do a commit when the business process finished?
Thanks and Best Regards
Sergio Vidal
I have an Enslib REST web service using an http host. How can it be converted to use https?
Hello ,
Ensemble Business Process seems like red color but it still processing message successfully. I have checked log, events, queue everything is clear. there is no log info or error in the history. If BP is in red color in the sense might have some issues, but is still processing messages successfully.
Can you guys please advice on this.