go to post Brendan Batchelder · Dec 12, 2016 Good point. If it's routing HL7 messages and using an HL7 Message Routing Rule, then the router class should be EnsLib.HL7.MsgRouter.RoutingEngine. For general messages, use EnsLib.MsgRouter.RoutingEngine.
go to post Brendan Batchelder · Dec 12, 2016 Fixing the documentation. There aren't plans right now to add scp support.
go to post Brendan Batchelder · Dec 9, 2016 There is a known problem with our documentation, scheduled to be fixed in 2017.1.The class documentation for %Net.SSH.Session states: "Once connected and authenticated, the SSH object can be used to perform SCP (Secure Copy) operations of single files to and from the remote system".This is not true. There is no way to use %Net.SSH.Session to do a secure copy.
go to post Brendan Batchelder · Dec 9, 2016 If this is for an Ensemble Lookup Table, then the schema name would be Ens_Util and the table name would be LookupTable. See the documentation here:http://docs.intersystems.com/ens20161/csp/docbook/DocBook.UI.Page.cls?KE...
go to post Brendan Batchelder · Dec 9, 2016 The example at this URL in the documentation shows how to create a REST business service which retrieves JSON data, converts it to a proxy object, and then extracts values from the proxy object to store in a response:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...Assuming you are retrieving your JSON data from a REST service, your use case is similar. Instead of storing the values in a response, you would want to create a new request class to hold the values. Replace pResponse in the example with an instance of your new request class, fill it with data from the JSON proxy object, then send it to a message router component with ..SendRequestAsync.Then, in your message router, you can add a DTL which transforms your new request class into an ADT_A31 HL7 message.
go to post Brendan Batchelder · Dec 9, 2016 I read your question more carefully. Here is example JSON with an array:{ "test":"abc", "arr":["one","two","three"]}Here is how to access the contents of the array once it's loaded in the tProxy object:USER>w tProxy.testabcUSER>w tProxy.arr.GetAt(1)oneUSER>w tProxy.arr.GetAt(2)twoUSER>
go to post Brendan Batchelder · Dec 9, 2016 <PROPERTY DOES NOT EXIST> means your code is trying to reference a class property that does not exist. The rest of the error message should tell you which property you tried to reference that didn't exist.After you added those 3 properties to the WeatherResponse class, did you save and compile it?If you're not able to resolve this, can you post the complete error message? What property is it telling you doesn't exist?
go to post Brendan Batchelder · Dec 2, 2016 %Net.SMTP method Send handles connecting to the SMTP server, extracting all the necessary data from %Net.MailMessage, formatting it for SMTP, and writing it to the server.If you copy this method and modify it to skip the connecting to server portion and instead have it OPEN and USE a file, then all of the write commands (well, $$$WriteLine commands) will write to a file rather than to the SMTP server. This might be the simplest way to serialize the %Net.MailMessage
go to post Brendan Batchelder · Dec 2, 2016 It might be too late, but there is a GetFieldStreamBase64 method for exactly this purpose.