Interoperability

Syndicate content 11 

Hello community,
 

I'm triing to use perl with Caché on CentOS 7.

  • Caché is installed and working
  • Reading doc for perl module
  • Adding path of Caché/bin in PATH and LD_LIBRARY_PATH as suggested in doc
  • Creating mMakefile (perl Makefile.PL)
  • Success at compilation (make)
  • Fail at test (make test). And return the following message:

Can't load 'blib/arch/auto/Intersys/PERLBIND/PERLBIND.so' for module Intersys::PERLBIND: libcbind.so: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 190.
 at test.pl line 10.

The test are a simple file that try to load the module in perl and connect to Caché.

But it doesn't pass the module importation.

After digging a little, when loading the module compiled (PERLBIND.so) crash. Perl return that after the return of the library. No because he can't get it

Last answer 30 January 2017 Last comment 31 January 2017
0   0 1
277

views

0

rating

I'm connecting to a remote device using TCP. It has a binary protocol.

set host = ""
set port = ""
set io = $io
set device = "|TCP|7000"

set timeout = 2
open device:(host:port:"M")
use device:(/IOT="RAW")
read string:timeout

use io
zzdump string

The problem is when reading from it, I get a 0A (also known as 10 or \n or linefeed) byte, which terminates the read.

Expected output:

0000: 42 00 7B 0A 11

But I get this output:

0000: 42 00 7B

How can I fix that?

 

Some additional info:

  • read completes in 0.1 seconds despite 2 seconds timeout.
  • $zb contains the value of 0D
Last answer 28 February 2019
0   0 1
0

comments

58

views

0

rating

Hi All,

Actually, I'm developing few restful API's. I want to create a authentication tokens and display it on my login restful API. If I'm using CSP sessionId, how can I validate the session Id's in another or continues restful API's. else, is there any other approach to handle this task. 

My Primary goal is, I have to integrate 2 different front end applications. One is Zen framework another one is web pages from Python. 

If any lead, it would be appreciated. 

Thanks,

Arun Kumar Durairaj. 

0   0 1
0

answers

0

comments

102

views

0

rating

From time to time we develop an Ensemble Production with simple SQL Inbound data from external databases, we need to develop a few new classes. There are at least

Last answer 8 days ago Last comment 7 days ago
0   0 2
58

views

0

rating

Hi,

We do have a production including a SOAP.OutboundAdapter that make a request to a .NET WCF Service. The response from that service vary in size. When it come to large one, we talk about maybe 8000 records (with 6-8 attributes per record) in xml, the adapter always give a timout. Even if we put a high number of seconds or set -1. After 1 1/2h still nothing get back. It's just standing there and waiting for ever.

Our .NET developer have look at it (on the WCF-service)  and from ther point of view they say that it seems like Ensemle can't handle such big responses.

In .Net it.s possible to put the property "maxReceivedMessageSize" when they expecting large size responses.

Is it possible to do the same in ensemble or is it another best practise to solve this problem?

Sincerely, Michael Lundberg

 

 

 

Last comment 12 February 2016
0   0 3
0

answers

232

views

0

rating

Hi,

I need to route a message synchronously to multiple targets using a routing rule.

In IRIS I built a general routing rule set, made up of a couple of rules. For one Rule in particular, and based on a common condition, I want to send the incoming message to 2 different targets. (no transformation is used)

I can select, in the single SEND action, multiple target names, or, I can create consecutive SEND actions, one after the other, each sending to their specific target.

The issue I have is that I want to do this routing synchronously, and only send the document to the second target, after the first target has finished processing (returns some response).

I know that - rather than using a routing rule, I can use a Business Process, however, I was hoping to avoid that if I can.

Any ideas how to send synchronously from a generic routing rule ?

Thanks - 

Steve 

Last answer 21 November 2018
0   0 1
0

comments

71

views

0

rating

Hi Community!

New session recording from Global Summit 2018 is available on Developer Community YouTube Channel:

Intelligent Interoperability

 

0   0 1
0

comments

63

views

0

rating

Hello,

I am trying to use %ZEN.proxyObject to send out in JSON format so I do:

    set tProxyRequest = ##class(%ZEN.proxyObject).%New()
    set tProxyRequest.notanumber = "28001"
    set tProxyRequest.aboolean = "true"
    
    set tBody = ##class(%GlobalCharacterStream).%New()
    do ##class(Ens.Util.JSON).ObjectToJSONStream(tProxyRequest,.tBody,"aelotwu")
    w tBody.Read()

and I get:

{
        "aboolean":"true",
        "notanumber":28001
}

But I want this:

{
        "aboolean":true,
        "notanumber":"28001"
}

 

Help please !

Last comment 17 February 2016
0   0 6
0

answers

617

views

0

rating

Hello,

 

I am looking for ObjectScript implementation of crypt-compatible function, that generates md5 salted hashes (output is in the form of $1$salt$hash). From what I understand it uses its own spin on md5 algorithm:

 

https://en.wikipedia.org/wiki/Crypt_(C)
http://php.net/manual/en/function.crypt.php
http://www.gnu.org/software/libc/manual/html_node/crypt.html

 

 

Does Cache have something like that built in?

Has somebody here seen it implemented somewhere?

 

Thanks.

 

 

Added:

I have found description of the underlying algorithm here: https://www.vidarholen.net/contents/blog/?p=32

 

Last answer 28 September 2017 Last comment 29 September 2017
0   0 2
215

views

0

rating

Added new System Default Setting  for Production (not Host) setting.

However, Production setting is still the same. I have tried restarting Production and instance, to no avail.

How do I specify System Default Setting correctly?

Production:

Last answer 30 December 2018 Last comment 5 December 2018
0   0 3
140

views

0

rating

IRIS and Ensemble are designed to act as an ESB/EAI. This mean they are build to process lots of small messages.

But some times, in real life we have to use them as ETL. The down side is not that they can't do so, but it can take a long time to process millions of row at once.

To improve performance, I have created a new SQLOutboundAdaptor who only works with JDBC.

BatchSqlOutboundAdapter

Extend EnsLib.SQL.OutboundAdapter to add batch batch and fetch support on JDBC connection.

Benchmark

Benchmarks released on Postgres 11.2 with 1 000 000 rows fetched and 100 000 rows inserted on 2 columns.

alt text

Prerequisites

Can be used on IRIS or Ensemble 2017.2+.

Installing

Clone this repositor

0   0 1
0

comments

42

views

0

rating

Hello WRC.

Is possible to obtain a node-cache modul for the nodeJS ver.4.4.4. and actual Caché 2015... ?

And what is the expected outlook of this.

A note about this new portal: If I put into "search box" some text with dot like .js or .css ( for example: test.js )  , I obtaint error page. Try it.

Of course, this "Developer Community" is nice, the right way.

Nice day for all, Jan Krestyn

 

Last answer 17 June 2016
0   0 1
0

comments

271

views

0

rating

Hi All,

I created a Business Operation to Integrate with Amazon S3.
I have used HTTP Outbound Adapter for the same. Used Get method of Adapter Class.
Basically in a request I want to send Unique File Name and File and in Response I want to get Version ID and if operation was successful, then set flag to true.

I have created a class for request in that I have two properties, as shown Below :
   

    Property fileName As %String;
    Property file As %GlobalBinaryStream;

This is in my Operation Class
 

            set pResponse = ##Class(SaveFileResponse).%New()
            set fileName = pRequest.fileName
            set file = pRequest.fil

Last comment 4 February 2019
0   0 2
0

answers

147

views

0

rating

Hi Community!

New video is already on DC YouTube Channel:

API Design for REST

 

0   0 1
0

comments

64

views

0

rating

Caché, Interoperability, Interoperability.NET

Advanced Techniques and Best Practices using Caché .NET Provider. This module focuses on the various aspects worth considering when designing and programming an application that uses the Caché .NET Provider.

+ 1   0 0

comments

views

+ 1

rating

Using Node.js with Caché - Introduction says the following:

The cache.node module is the Node.js interface for the GlobalsDB kit, which can be obtained from the GlobalsDB download page (http://globalsdb.org/downloads/). The Node.js interface can be used with either Caché or the free GlobalsDB database.

The installation kit includes detailed documentation on how to install and configure the cache.node module.

Last answer 5 August 2016 Last comment 5 August 2016
0   0 1
507

views

0

rating

Hello community; this may seem odd, but I need to know if there's any way we could be using callin functions from a C application without knowing?  e.g. if other developers created some C programs that call in to Caché that we don't realize are running.  Is that possible?  If so, where would I look to see these programs?  Perhaps the server's task manager? 

Thanks --Laura

Last answer 17 October 2016 Last comment 17 October 2016
0   0 2
172

views

0

rating

The preview release of InterSystems HealthShare Health Connect 2019.1 is now available!

Kits and container images are available via WRC's preview download site.

InterSystems HealthShare Health Connect version 2019.1 is the first version of InterSystems HealthShare Health Connect synchronized with InterSystems IRIS, and includes many new features and capabilities, most notably:

Last comment 25 January 2019
0   0 3
188

views

0

rating

Caché, Interoperability, Interoperability.NET

This webcast is divided into two sections. The first section will introduce the .NET Framework. The second section will focus on the capabilities of the .NET Caché Provider.

0   0 0

comments

views

0

rating

I am looking for a general overview of how you would attach a document to a patient record in healthshare.  For instance, an Advance Directive or Living Will.

 

Here are some starter questions:

  1. What format is required, if any?  Can it be a PDF or DOC?
  2. How can/should it be submitted?  HL7? XDS.b?  Embedded in a CCD?

Sorry for the open endedness.  Any info would be helpful while I research this.

Last answer 9 March 2017 Last comment 16 November 2016
0   0 0
220

views

0

rating