We are using object EnsLib.EDI.XML.Document and the method OutputToString -- ( context.XMLObject.OutputToString("C(utf-8)") ), In the string that we get back, Hebrew characters are unknown and we get question mark instead.
How can we overcome it?
We are using object EnsLib.EDI.XML.Document and the method OutputToString -- ( context.XMLObject.OutputToString("C(utf-8)") ), In the string that we get back, Hebrew characters are unknown and we get question mark instead.
How can we overcome it?
Is the possible for Multiple Streams using in single method?
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.
The Resource Map class (the subclass of %CSP.REST) controls whether CORS is enabled. There are two approaches to do. One way
I created on program . How to convert this application in .exe format.
NewBie's Corner Session 29 Documentation on the Caché/MUMPS Global Structure
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
This post contains several links to very good documentation of the Caché Globals Structure.
Like I said, "Perhaps the most difficult concept in Caché/MUMPS is its Global Structure."
universalNoSQL.pdf - http://mgateway.com/docs/universalNoSQL.pdf
by Rob Tweed and George James
Extreme Database programming with MUMPS Globals
http://gradvs1.mgateway.com/download/extreme1.pdf
by Rob Tweed
Documentation from InterSystem
Windows 7 and some other Microsoft Operating Systems can shutdown too fast for large applications, such as a Cache instance with a large amount of data and changes, to close gracefully. This results in the instance being forced down by the OS and so causing problems on the next start up.
To solve this we can change the OS shutdown timeout values to give Cache more time to close gracefully. We do this by editing some settings in the Registry.
1.Click Start (on Win 7) and type “regedit” and make sure you run registry editor as administrator.
2.Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\C
Hi All,
We are Using Ensemble 2014, Windows Server 2012 64 bit operating System.
We need to sense whether Htpps is alive or not.
In Cache we tried %HttpsRequest Library we set https property and port=443. But it doesn't work.
Anyone help us plz.
Thanks, Sansa
We're developing Ensemble PoC and one day our frontend developer (who doesn't have Ensemble production running) said that Populate just doesn't cut it and he needs to see the real data. He needed only one object, but the problem was - it's a big object. Still, I checked ids of everything related and wrote this command (parts omitted, but you get the idea):
w
$SYSTEM.OBJ.Export("project.model.contract.ContractD(6456).gbl,project.model.coA7F9.ObjectAddressD(6741).gbl,project.model.meter.DeviceD(23398).gbl,project.model.StatusHistoryD(7977).gbl,project.model.StatusHistoryD(48006).gbl,project.moI tried to get a image from user . But It did not run. So please solve this problem
Class Quadramed.Chennai Extends %Persistent
{
Property Image As %Stream.FileBinary(LOCATION = "C:/Images");
Method imagefile()
{
s obj = ##class(Sam.binary).%New()
r "enter your name",img
d obj.Image.Write(img)
s status = obj.%Save()
}
Hi, Community!
We want to introduce tag for the posts, which are related to the newbies.
What is the best tag for it?
Newbie's corner?
Newbie?
Beginner?
Your option?
NewBie's Corner Session 1 Installing Caché
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Session 1 - InterSystems Inc. allows you to download a single copy of Caché to your personal computer at no cost. This is available from www.InterSystems.com. It is at this link: https://download.InterSystems.com. You will first need to register yourself with InterSystems. Follow the instructions on how to download the install file. Choose the full version of Caché, not the Client Components.
After you have downloaded the Caché install file, double click on the executa
![]()
I know per documentation (pasted below) to set the DSTIME parameters for the base class of a cube. If that base class has a property that is another class, do I have to add the DSTIME parameters to that secondary class?
Documentation says the following in a section titled "Enabling Cube Synchronization:"
Before you can synchronize a cube, you must enable the cube synchronization feature for that cube. To do so:
1. Make sure that cube synchronization is possible in your scenario. See “When Cube Synchronization Is Possible,” earlier in this chapter.
2. Add the DSTIME parameter to the base clas
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.
NewBie's Corner Session: 9 Documentation and books
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
To access your documentation:
Assuming you have installed Caché, (see NewBie's Corner, Session:1),
Click on the InterSystems cube in the Windows system tray, then choose Documentation.
Or – another method you can use to access your documentation:
Assuming you have installed Caché, (see NewBie's Corner, Session:1),
Click on the InterSystems cube in the Windows system tray, then choose Preferred Server,
From the drop down menu choose Add/Edit
Then from the row that has y
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?
A beginners guide to develop Ensemble RESTful web services.
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.
When I refer to documentation I mean Ensemble 2016.2 and onwards.
I have setup an async reporting mirror member with Read only access. My problem is that if I try to do any sql reporting against that data I am getting errors. I am sure that this is because the DB is read only, but I had assumed that setting up a reporting mirror would handle this.
I there a setting or mapping I am missing?
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!
Thanks!
How to get a input in array collection with class properties.
Class collect.arraylist Extends %Persistent
{
Property DOB As %Collection.ArrayOfDT;
ClassMethod valu()
{
s list = ##class(collect.arraylist).%New()
r ""your DOB:", DOB1
do list.arraylist.SetAt("DOB1",0)
}
Hi All,
We have an application running on Ensemble 3.0.0.2185, And we want to upgrade to latest version of Ensemble.
Can somebody please outline the process of upgrading from version 3.0.0.2185 and all the risks involved?
Thanks
I get a input from user.How to I retrieve the data from these input. I enter the program but its occurred Some error .So give an idea of how to retrieve the data from properties.
ClassMethod Getvalue()
{
S Details = ##class(Sample.Employeedetails).%New()
r "Enter Your Name:" , Name1
s Details.Name = Name1
r "Enter Your Address :", Address1
s Details.Address = Address1
r "Enter your Phone Number:",Phonenumber1
s Details.Phonenumber = Phonenumber1
r "Enter your Blood Group:", Bloodgroup1
s Details.Bloodgroup = Bloodgroup1
r "Enter Your Desination:",Desiation1
s Details.Desination = Desiation1
r "Enter your Do
Hi,
The OnHTTPHeader method not support in cache 14 but it support cache 13.
OnHTTPHeader(ByRef OutputBody As %Boolean) As %Status [ ServerOnly = 1 ] this method return Some special character.
Thanks,
sanasa
How to retrive the unstructure data using iknow concept in Cache . Given real time Example of these concepts?
Hello,
we build a COS-application which includes classmethods for running a simulation calculation (differential equations by Runge Kutta procedure) which runs well but needs too much time. This is embeded in Cache Server Pages and we tried already to start the simulation as a JOB to avoid the CSP-timeout. However the Job needs of course also too much time. May be this could be solved by a different strategy to run the simulation calculation by an external Windows -Programm (developed with Delphi). Original the application for simulation was developed in Delphi, where it needs a significant
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.
The most common framing error is ErrEndBlock. Other typical errors include a warning saying "Discarding received non-HL7 data", a warning saying "Returning unused unexpected n-char segment", and "Discarding leftover input ''".
T

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?
Hi All,
The onHTTPHeader using for redirect body statement.but this not support cache 2016.
This method return the following text.
�Xmw�:�ܜ��0��-��4�ܒ&��Ro)�����XA�D���=����6༴��������h4#���\�d��iH�Լ'K�Y��P8��juf��=<����+6�#�w�9��!�\��'�dK*O����a�a��7��@&\�ǰ�?�=Az(���^�+IU((�2�����n^N��#��SP�i��Q��!d��0a��A �Ѫ��%&���@��o�)���"���Jy��̄��ԝ�#��� \$.[������R�!���K���G�{�c�����r�w�P�?�g�w�녫��Y[0һ�����ly~w�[�������?�������ߟ?_N���ym|k��ϟD�Z�pt�����C����M٧�&&�b���0.�����f��d�ŚPx�ԣ )} +�q���^&�'�8�Ȕ0�����(�'����C"���5�n�p���}�] Շo�{=�5�\��ve�*�y�ラ��և�E�����p~qz^�厍�D����rM�_h�fi���o���0
Hi all,
In CSP page we get data from Class via Query method.
<TD valign=top>#(DEOBJ.Get("Comments").Read())#</TD>
The problem is we couldn't get the stream property value.
(Property Comments As %Stream.GlobalBinary)
Thanks,
sansa.
Do you have any experience / recommendations / best practice on how to update server-side data residing in a Cache database via a REST service?
A naïve approach would be to send a full JSON representation of the data object via an http POST to a method on a REST handler class:
<Route Url="/mydata/:id" Method="POST" Call="Update"/>
The problem I see here is, if only one of the data object's properties has changed, how do we know which? Or do we simply overwrite all properties?
Hi-
This almost seems like a silly question, but I am new to REST services.
I have a rest service that has a method for adding records to my database.
<Route Url="/userdetails" Method="POST" Call="SaveUserDetails"/>
My REST client sends data using json in the body of the request. I have verified using debugging tools that the data is actually being sent.
On the server side in my SaveUserDetails method where do I find the json?
What is the proper way to serialize that json into an object?