Hi all,
I have a FTP.Inbounding service that read a file and move it to a other folder when it is processed. The problem is that is not working fine in SFTP server.
The code is coppied from How to - Customize Ensemble Settings article.
A business service is part of InterSystems Ensemble interoperability production which is responsible for accepting requests from external applications.
Hi all,
I have a FTP.Inbounding service that read a file and move it to a other folder when it is processed. The problem is that is not working fine in SFTP server.
The code is coppied from How to - Customize Ensemble Settings article.
I am trying to find out when a Business Service was created, and by who. I have reviewed the audit trail and it doesn't appear that this information is actually logged there. I am hoping that this might be logged in a SQL table or global someplace. I have reviewed the SQL tables in that namespace and have come up empty. I thought it might be located in Ens_Config.Item, but that table is sparse.
Anyone know where this information might be logged?
Thanks, Jim
InterSystems IRIS supports publish and subscribe message delivery. Publish and subscribe refers to the technique of routing a message to one or more subscribers based on the fact that those subscribers have previously registered to be notified about messages on a specific topic.
This article demonstrates how several InterSystems IRIS capabilities can work together:
In this article we would send emails about:
Email recipients would be determined using Publish/Subscribe operation and each user would receive only digest email whenever possible.
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
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!
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
Hi,
I was wondering if there is any information about the events I can use when using a business service. I am using "OnProcessInput" event to define the logic of my script but I would need to run a different script when finished. I guess it would be easier to understand if I provide more information. My business service just calls a store procedure to receive messages from a database. Once there are no messages received I need to run a different query but I cannot find any option to determine when the last message has been received.
Hi guys,
is there any way to configure Ensemle Web Service (EnsLib.SOAP.Service ) to accept HTTP Basic authentication instead of SOAP security headers?
Thanks.
Has anyone used ClearRuntimeAppData, I am using the EnsLib.SQL.InboundAdapter and pulls the SQL query fine, but if the service needs to keep pulling the same rows the next time the service is started but it will not, due to the parameter “key Field Name”
I have a csv record mapper that reads in a batch and my batch has a header and trailer that changes all the time but it is of fixed length so I override the Get Batch Header method from the simplebatch class to something like below but my problem is when the batch is read in It still tries to bring in another empty batch like the picture below any reason why that is here is my code.The red code is the changes made. After several trace logs it is being called twice first time with the batch [1] and[5]is the second call how can I stop that from happening
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
}
the error that I am getting
>}
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,
I need to route a file based on its type in Ensemble Production. But I don't want to write a Business Process code to achieve this. Am using FilePassThroughService to get a file.
There are two FilePassthrough operations for different type of files. Is there anyway to achieve this using Business Process Rule itself?
Also how to get the filename in Business Process Rule that comes from FilePassThroughService?
Thanks in advance.
I would need to build a Complex Record Map and then transform that into xml. But not the whole batch to one xml file - instead every repetition in that Complex Record Map would become one xml file.
For Simple Record Maps this is easy to do because there are different types of Business Services that handle every record either individually or all of them as one batch but there doesn't seem to be similar options for Complex Record Maps? Instead, there is only batchtype business services.
Why is that? And what would be the best approach to transforming complex record map to several xml documents?
I have many items in business services.
one of my particular business service is frequently asking restart.
Is there any code to update particular business services out of all services?
Thanks in advance...
I have list of business services in my ensemble production.
Often, my business services which are in green color turns to red color and asking for update and restart the services.
I would like to know, how to identify which business services are turned to red color.
Help me restart the service individually by code.
Thanks,
Ashok
Hi everyone,
I started working on Ensemble this year so maybe I am not implementing the right way. I'm trying to connect a Welch Allyn monitor to TrakCare. The workflow is the following:
- User scans patient number with the monitor.
- The monitor sends a QBP_Q22 message to request patient information
- Ensemble (or TrakCare) sends back a synchronous RSP_K22 containing the patient data (name, dob, sex)
- The user checks the patient's information displayed on the monitor, takes vital signs and sends them to TrakCare (via Ensemble)
Hi all,
For special definition of the company, we need to define a PoolSize according to the environment that the "Ensemble" is working.
So the first try as been add the parameter into "System Default Setting"
However, this parameter is not available in "Setting default values" in Setting tab.
I've opened the code of my production and I've noted that this parameter is a attribute of the XML element of this item
We need to use MAPI protocol to retrieve email since the POP3 is disabled at our site. Ensemble inbound adapter currently supports only POP3 protocol.
Any suggestions/ workaround ? We might have to call .net / com program to do this. Just want to check if anyone has done that already.
Thanks,
Sushant
Hi world
in my program , i need to implement this kind of trigger on my business service ,
please how can i introduce it in my business service's classe.
thank's.
Start the business host every day at 8 a.m. and stop it every day at 5 p.m.
START:*-*-*T08:00:00,STOP:*-*-*T17:00:00
Stop the business host every year on January 2 at 7 a.m. and start again on January 3 at 7 a.m.
STOP:*-01–02T07:00:00,START:*-01-03T07:00:00
Hi world,
i want to program a schedule for my adapterless business service , i found a method "test" in "Ens.ScheduleHandler" but i don't know how i program it for my service can be invoked each one houre by day .
i'm waiting for your help because it's the key for my application .
i don't like to use ensemble portal.
Thank's.
Several Ensemble adapters have SERVICEINPUTCLASS and/or SERVICEOUTPUTCLASS parameters defined.
For example:
Class EnsLib.HTTP.InboundAdapter Extends EnsLib.TCP.InboundAdapter
{
Parameter SERVICEINPUTCLASS = "%Stream.Object";
Parameter SERVICEOUTPUTCLASS = "%Stream.Object";
...
}What are they for?
Hi everyone, I have a SQL service that is working fine, except I don't want it to run on a schedule or continuously. I'd like to only run when requested. Run once and then stop until another request. Is there anyway to set up a service like that?
I have a simple SQL service that does a simple select from an SQL database. After the select, I do an update to set the ProcessedFlag to "Y" for yes, so my next pass doesn't select records already processed. The service works fine, except when it's done I get the error below, anybody know what is causing this error?
I am currently working on a issue with WRC on one of my Inbound SQL Adapters not returning all the records it should be. If I looked at the count of the records in Ensemble and compare it to that of a Microsoft SQL View, Ensemble seems to be off by a few records here and there. I am using a full dynamic select statement in my settings of the adapter.
SELECT Text, PhysicianLastName, PhysicianFirstName, PhysicianAddress1, PhysicianAddress2, PhysicianCity,
PhysicianState, PhysicianZip, PhysNum, InsertDate, FaxK, EnsIndex, MRN, AccountNum, FirstName, LastName
FROM vUHEpicMailEns
Order By FaxK
I'm trying to create asynchronous Ensemble service/operation pair for SOAP passthrough.
General configuration:
Is it a viable approach?
Any tips? Ideas? Caveats? Code?
Seems like I can sublass EnsLib.SOAP.GenericService and change Sync to ASync (and provide a default reply immediately).
While using custom business service i'm not getting the Acknowledgement . But i tried with standard business service im getting acknowledgement . can you please help me to figure out the issue. Thanks in advance!!!
I have tried to create Ensemble SOAP passthrough operation following this guide.
Here's my production configuration (after steps 1-4):
Hello,
We need to consume files (right now using FileInboundAdapter) with a strict order.
Example:
File order will be A, B, C. Suppose A, B and C will be the names of the files.
Then B will never be consumed before A or after C.
How deal with this? Any idea?
Regards