· Nov 8, 2018

How to get a SDA3.Container object from a Stream object

I am trying to get SDA3.Container object from a Stream object like following code:


Method HandleECRUpdateRequest(pRequest As CUSTOM.CORE.Message.ECRUpdateRequest, ByRef pResponse As Ens.Response) As %Status

               Set tContainer=##Class(HS.SDA3.Container).%New()
               $$$ThrowOnError(tContainer.InitializeXMLParse(pRequest.ContentStream, "SDA3"))
               Set tEventDescription=tContainer.EventDescription


But it tContainer seems to be empty. The tEventDescription is set to empty. I need work on the whole HS.SDA3.Container converted from ContentStream in a ECRUpdateRequest. Doesn't anyone know how to achieve this?



Discussion (3)2
Log in or sign up to continue