go to post Yuri Marx Perei... · Dec 20, 2022 The response is a string code only, so if we don't have error, the edge was sucessful, otherwise I try to suspend to try again after
go to post Yuri Marx Perei... · Dec 20, 2022 Yes, because the Edge is usually remote, so I used but calling the remote Web Service: 1. Create the web service client from the WSDL http://<IP>:<PORT>/<NAMESPACE>/csp/healthshare/hsedge/HS.Gateway.HSWS.WebServices.cls?wsdl. (more details: https://docs.intersystems.com/hs20221/csp/docbook/DocBook.UI.Page.cls?KE...) 1.1 To create the web service client classes do (https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...): set r=##class(%SOAP.WSDL.Reader).%New() GSOAP>set url="http://<IP>:<PORT>/<NAMESPACE>/csp/healthshare/hsedge/HS.Gateway.HSWS.WebServices.cls?wsdl" GSOAP>d r.Process(url, "targetpackagename") 2. Use the SOAP generated class to consume EPRSave(): Class package.NameOperation Extends Ens.BusinessOperation { Parameter ADAPTER = "EnsLib.SOAP.OutboundAdapter"; Parameter INVOCATION = "Queue"; Method SendSDA(pRequest As pack.WSReq, Output pResponse As pack.Resp) As %Status { Set tSC = 1 Set sda = "" Set pResponse = ##class(pack.Resp).%New() Try { While 'pRequest.sda.AtEnd { Set sda = sda_pRequest.sda.ReadLine() } Set request = ##class(hcd.ECRUpdateRequest).%New() Set request.UpdateECRDemographics = 1 Set request.AllowFacilityAsAssigningAuthority = 0 Set request.StreamContentType = "SDA3" Set request.ContentStream = sda Set client = ##class(hcd.HS.Gateway.HSWS.WebServicesSoap).%New() Do ##class(Ens.Util.Log).LogInfo($classname(),"SendSDA","Send SDA to: "_client.Location) Set client.SSLConfiguration = "HCD_SSL" Set cred = ##class(Ens.Config.Credentials).%OpenId("HS_Services") Set wsuser = cred.Username Set wspass = cred.Password Do client.WSSecurityLogin(wsuser,wspass) Do client.EPRSave(request, .response) Set pResponse.response = "OK" Set pResponse.response = "SDA sent" } Catch ex { Set tSC = 1 Do ##class(Ens.Util.Log).LogError($classname(),"SendSDA",$System.Status.GetErrorText(%objlasterror)) Set pResponse.response = "Not OK" Set pResponse.response = "Error while sending SDA. Details: "_$System.Status.GetErrorText(%objlasterror) Set ..SuspendMessage = 1 } Return tSC } XData MessageMap { <MapItems> <MapItem MessageType="pack.WSReq"> <Method>SendSDA</Method> </MapItem> </MapItems> } }
go to post Yuri Marx Perei... · Dec 10, 2022 For business scenarios will be very useful, for developers is better to use docs, learning, discord and community tools
go to post Yuri Marx Perei... · Nov 3, 2022 https://openexchange.intersystems.com/package/iris-image-editor
go to post Yuri Marx Perei... · Oct 5, 2022 My choices: @Robert Cemper, Terry Ragon, Tim Bernold-Lee and Linus Torvalds
go to post Yuri Marx Perei... · Sep 26, 2022 You can find a sample here: https://openexchange.intersystems.com/package/custom2sda
go to post Yuri Marx Perei... · Sep 26, 2022 https://community.intersystems.com/post/create-stored-procedures-using-e...
go to post Yuri Marx Perei... · Sep 18, 2022 Gamification is a good option, see more details: https://www.limber.io/en/gamification-to-promote-your-most-active-users/. Intersystems Community uses gamification into Global masters, and it is well done case
go to post Yuri Marx Perei... · Sep 15, 2022 I claim python embedded bonus, sambaservice class uses python: https://raw.githubusercontent.com/yurimarx/samba-iris-adapter/master/src...
go to post Yuri Marx Perei... · Sep 14, 2022 Thanks @Dmitry Maslennikov for help me with my samba app
go to post Yuri Marx Perei... · Sep 14, 2022 @Jeffrey Drumm I created smb support for you! see it: https://community.intersystems.com/post/create-list-upload-and-download-... and vote in my app to the contest, thanks!
go to post Yuri Marx Perei... · Aug 16, 2022 Is it required use dtl, bpl and adapters to be considered an interoperability solution?