Hi
The message is received at all times.
cconsole.log
(12660) 0 Failed to mount c:\intersystems\ensemble\mgr\ensemble\ because its default collation (20) is not available...(repeated 60 times)
What it this?
Help-me
Tks
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
Hi
The message is received at all times.
cconsole.log
(12660) 0 Failed to mount c:\intersystems\ensemble\mgr\ensemble\ because its default collation (20) is not available...(repeated 60 times)
What it this?
Help-me
Tks
I'm pleased to see this in the documentation of the just-published 2017.1 Field Test of Ensemble:
"In certain circumstances, it is useful to create namespaces that are not enabled for Ensemble. In this release you can do this by clearing the
Server:
Class webservice.SOAPResponse Extends (
//--------------------
///
Class webservice.webServiceServer Extends %SOAP.WebService [ ProcedureBlock ]
{
Parameter SERVICENAME = "webServiceServer";
Parameter NAMESPACE = "http://tempuri.org";
Parameter USECLASSNAMESPACES = 1;
Method info(queryInfo As %String) As webservice.SOAPResponse [ WebMethod ]
{
set soapresponse=##class(webservice.SOAPResponse).%New()
set soapresponse.CustomerID="aaavca1"
set soapresponse.Name="server:"_queryInfo
set soapresponse.Street="aaaa3"
set soapresponse.City="aaaccxaa4"
set soapresponse.State="aaaszxaaa5"
set soapresponse.Zip="aaaaazzaa6"
quit soapresponse
}
/// return json
Method infoJson() As %String [ WebMethod ]
{
set soapresponse=##class(webservice.SOAPResponse).%New()
set soapresponse.CustomerID="1"
set soapresponse.Name="2"
set soapresponse.Street="3"
set soapresponse.City="4"
set soapresponse.State="5"
set soapresponse.Zip="6"
s result=""
d ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(soapresponse,.result,,"s")
s resultinfo=result
/// return null
q resultinfo
}
}Hi,
A site has a Mirror set, and an Asynchronous DR. The disk drives for each of the instances are local disks and the databases are large (>2 TB)
The current backup strategy is started off as using Cache Backup and is still the case today, but the size and time it take t do the backup is obviously prohibitive.
The External Backup procedure requires a Freeze/Thaw of the Cache environment, with a copy of the environment executing between these 2 steps, however, being on local disks, there seems to be no way to quickly copy off the OS files and cache databases in time.
How to write all the alerts from Ens.Alert to a file instead of sending to an email? Any documentation available to implement this.
I am trying to read data from MySQL Server 2012 to a stream and I keep getting an error here is my code so far
ERROR
An error was received : ERROR <Ens>ErrException: <INVALID OREF>zGetBatchDetails+14^DDQTools.DQTGetBatchOpp.3 -- logged as '-' number - @' set sc=reStream.WriteLine(rec) '< set tSC=$$$OK
set ^tvalue=1
set ^tvalue=$INCREMENT(^tvalue)
#dim rs as EnsLib.SQL.GatewayResultSet
#dim reStream as %Stream.GlobalCharacter
if $$$ISERR(pRequest) quit pRequest
set sc=..Adapter.ExecuteQuery(.rs,..GetTheSubmissionData(pRequest.pMonth, pRequest.pApp, pRequest.pRef, pRequest.pInPat))
if $$$ISERR(sc) quit sc
while rs.Next() {
set (comma,rec)=""
for i=1:1:rs.GetColumnCount() {
set rec=rec_comma_""""_rs.GetData(i)_""""
set comma=","
}
set reStream=""
set sc=reStream.WriteLine(rec)
}
do reStream.%Save()
if ($$$ISOK(sc)){ set pResponse.pReqDetails=reStream
set reStream=""}else{$$$TRACE("There is nothing on the stream")}
set tSC=pResponse.%Save()
set tSC=..SendRequestSync(..TargetConfigNames,pResponse,.pOutput)
Quit tSCI wanted to see some alerts that occur in my Productions in a Mobile Device, I came across Pushover.net recently that although has an upfront cost $5 you can send as many messages as you like after that, there is a 7 day free trial to check it out.
To Integrate this with a production I did the following.
Create an account and set up a device on https://pushover.net/
Hi all,
I have an operation which uses the SQL outbound adapter to query a data source set up using a system DSN on the server which uses the Intersystems ODBC35 driver (this is a cache db hosted elsewhere).
Whenever Ensemble runs the following query:
SELECT lnkdid,
c_fastsearch_code,
c_drugfull
FROM JAC.drug_basic
WHERE c_drugfull LIKE 'Para%'
No data is returned, however running the same query via SQL Server Management Studio, all expected rows are returned.
Also if I run the following via Ensemble:
SELECT lnkdid,
c_fastsearch_code,
c_drugfull
FROM JAC.
Is there a way to enumerate the compilation status of a package?
currently after deployment we are doing something like this to validate a successful load and compile of classes:
successful_compilation_count=`grep -a "Compilation finished successfully" output.log | wc -l` successful_load_count=`grep -a "Load finished successfully" output.log | wc -l`
is there a method to do this where it is a little bit more elegant/dynamic without having to maintain counts for comparison ?
We have a case where a vendor can send us more information in the DICOM message rather than in the HL7 result message. In theory it should be possible to take a DICOM and convert it to HL7, stupid question is has anyone done it before? Does anyone have any good examples of a DTL they did to show me how to setup the message structures and translation?
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
One aspect of source code management is how to deal with the almost inevitable need to upgrade your Caché or Ensemble platform to a newer InterSystems release.
It's long been my experience that InterSystems does a very good job of maintaining backward compatibility. Code that works correctly on, say, 2012.1 is very likely to work correctly on, say, 2015.2 without any modification.
I'd guess that few sites are in a position to take a "big bang" approach and upgrade all of their instances (e.g. dev, test, live, DR) at the same time.
Hi guys have an operation that I would like to write the results from the results set to a csv file but have been struggling to get it to work here is my code so far and also here is the error that I get when I try to test this operation using the testing on the ensemble
error:
An error was received : ERROR <Ens>ErrException: <COMMAND>zMessageHandler+6^DQTools.DQTOpp.1 -- logged as '-' number - @' Set tSC=..CheckRequests(.pRequest,.pResponse)'
code: set file = ##class(%Stream.FileCharacter).%New()
set fileName="C:\File\99_Testing\123.txt"
do file.LinkToFile(fileName)
while 'file.AtEnd {
// set query = "SELECT * from Adminstration"
set rs = ##class(%SQL.Statement).%ExecDirect(, query)
set sc = rs.%DisplayFormatted(100,file)I have a service that that I would like to use to poll the database table in MySQL server 2012 and get an id to use if the condition is met but have trouble achieving this here is what I have so far any suggestions please.
Method OnProcessInput(pInput As EnsLib.SQL.Snapshot, Output pOutput As %RegisteredObject) As %Status
{
set pRequest=##class(SamsReq).%New()
set pRequest.pID=pInput.Get("pID")
< set sc=..SendRequestSync("DQTT",pRequest,.pOutput)
quit sc
}
Please forgive me if these questions have been asked and answered before, I've tried searching the posts and docs and really haven't found the answer yet.
I am looking for samples of integrating from Ensemble to ActiveMQ. I would be interested in multiple approaches (REST, native java, etc.)
Hi-
I have searched through documentation, etc and see many mentions of using Ensemble / Health Connect along with the Java Gateway to interface with JMS Queues, but see no specific documentation on how to do this.
Does anyone have any information, or a concise example of using the Java Gateway to allow Ensemble / Health Connect to be able to place messages and retrieve messages from a JMS Queue?
Thanks
Hi,
I'm trying to send a txt file over TCP.
The txt file contains lines, every line has a fixed length : 179 characters , however it seems that this length vary while sending it!
So, I need to send the content of the txt file as it is without adding anything.
I'm using as operation EnsLib.TCP.PassthroughOperation.
I need your help please.
Thanks !
Hi guys,
I am using the %Net.HttpRequest method to get data from a server.
The server will continuously send data. Is there any way that i can able to read the HttpResponse data line by line so that if at a particular line i may terminate the request.
Please advice.
Thanks,
Arya
Is there a way to pull a user name and password from the Credentials list that is kept in Ensemble? Right now I have a LDAP user that I have hard coded into my ZAUTHENTICATE, which I would like to get away from. I am not to familiar with settings Global, or calling them at least.
Thanks
Scott
Reasonably new to Ensemble but have a requirement to take a HL7 message and send to a external source using a HTTP Post. I already have built an operation that will post a stream forwarded to it but was wondering if there was a shortcut for copying a complete HL7 Message (including end of segment and end of message) into a stream without having to parse through the whole message segments individually. Any pointers would be much appreciated.
I have a service that uses the EnsLib.SOAP.InboundAdapter, and I seem to be facing an odd problem.
Our clinical document system sent a request which contained a word document in base64, and was presented with the error "ERROR #6253: Datatype validation failed for tag payload (ending at line 1 character 2111). Unexpected tag <ClinicalDocument> found."
I took a look at the word document sent, and found it contained an image which made the document size about 4MB larger than the average document.
Hi all,
We have migrated our Ensemble instance from Healthshare 2016.2.1 to 2017.2.1, after all process we are checking that all namespaces are working propertly.
The first problema was checking a business operation that calls to a WebApi with the following error message:
ERROR <Ens>ErrException: <OBJECT DISPATCH>zMessageHeaderHandler+14^SALUTIC.MyUsers.BO.UsersREST.1 *Set property %SuperSession of class SALUTIC.MyUsers.BO.UsersREST is not a direct reference and may not be multiple SET arg -- - registrado como '-' número - @' Set (..%SuperSession,%Ensemble(" SuperSession"))= pRequestHeader.SuperSession'
I have used Studio's schema wizard to create classes representing my XML structure as defined in an xsd file and then I use the main class of that set of classes as parameter in my Ensemble web service.
Let's say I have a web method signature like this:
Method myMethod(message As My.Schema) As %String [ WebMethod ]
How do in that method take this message and convert it into a EnsLib.EDI.XML.Document?
My.Schema extends both %Persistent and %XML.Adaptor so I guess there should be some simple way to create an instance of EnsLib.EDI.XML.Document out of it?
EnsLib.EDI.XML.
Hi All,
I'm trying to send workflow TaskResponse, in my interface.
Steps:
Create SOAP Service and send process raise <call> workflow sync task.
How can to achieve this? Is this possible via SOAPUI tool?
Thanks,
I seem to be getting some odd behavior from Ensemble when searching using the extended Criteria options (VDoc Segment Field).
I'm searching for a specific range of test patients (for example, Surnames starting ZZZ) and I'm only getting back about half of what I know is there (and is verifiable by removing the search criteria and manually scrolling through the message viewer.
I'm not maxing out the page size, and it isn't a case sensitivity issue. I'm also seeing some odd behavior when adding a date/time range to this.
Howdy Developers of InterSystems Ensemble,
Has anyone experienced an alert generated from a business operation (BO), which uses EnsLib.SQL.OutboundAdapter? That comes with an error message as below:
ERROR #6022: Gateway failed: Execute. + ERROR <Ens>ErrGeneral: SQLState: (HY000) NativeError: [10054] Message: [Cache ODBC][State : HY000][Native Code 10054] [d:\cachesys\bin\cache.exe] [write_all: send() returned SOCKET_ERROR. Reason: (10054, 0x2746) An existing connection was forcibly closed by the remote host. ] (alert request ID=710761).
I am working on an ZAUTHENTICATE.mac to move us from local cache users to Delegated Authentication against LDAP.
I have created a user role within my instance of Ensemble that matches the AD Group that I will be assigning everyone in my group to. Is there a way to query the list of available Roles within Ensemble, and if one of my AD groups matches that role, set the role for that user?
How would I compare the AD Group against the Role listing?
Thanks
Scott
Hi!
We have problems in some productions where it stuck in a Queue when things goes wrong and i wonder if somebody have som tips to avoid it?
example when we got stuck is this:
set MyClass= ##class(SomeClass).%New(). MyClass has a Datefield
try
{
MyClass.Date = Sourcedata.Date //Sourcedata send us wrong format to that datefield. Error occur.
}
catch ex
{
set tErrMsg = "Error i this method " _ $System.Status.GetOneStatusText(ex.AsStatus())
$$$LOGERROR(tErrMsg)
Quit
}
In this case the catch-scope is not seems to be reached at all and the production get stuck in a Queue.
Hi Guys,
I want to take out the words -"Ensemble alert from" from the subject line of ensemble alerts. Does anyone have done something similar.
Hi,
I am afraid I am stuck again. I have ensemble connected with a MsSQL database and I have a service that calls a store procedure. All is working, and I can get strings from the database in the service. The problem is that the data the store procedure returns is suppose to be an HL7 message so I need to convert the string into HL7 format. I have been using the ##class(EnsLib.HL7.Message). ImportFromString method but although I have a valid HL7 message from the string received from the DB.