Written by

CHR (Liège - Belgium/Belgique)
Question Michel Bruyère · Nov 28, 2019

StreamContainer.

Hello,

I make some changes in our ObjectScript code between our prod environment  and dev environment in the process 'Hl7AdtFileIsoslBp'.

The operation is a class with "EnsLib.TCP.TextLineOutboundAdapter".

In prod:

In dev:

Like you can see, I don't have the contents of the text file.

I checked a lot of parameters but it seems identical.

The content of file is correctly received through TCP. So the only glitch is I don't see it in the 'View Full Contents'.

Best Regards.

Comments

Michel Bruyère  Nov 29, 2019 to Abbad Minhas

I modified the process to:
Class ??? Extends (Ens.BusinessProcess, %XML.Adaptor)

Unfortunately, it does not work. sad

0
Robert Cemper  Nov 29, 2019 to Michel Bruyère

The added %XML.Adaptor  is not active until the related object is closed and a new instance of it  is opened again.

0
Michel Bruyère  Nov 29, 2019 to Robert Cemper

How to do the close ? I don't see any method for that.

Snippet of the code:

SET lineStream = ##class(%Stream.FileCharacter).%New()

...

SET streamCont=##class(Ens.StreamContainer).%New(lineStream)
$$$TOE(sc,..SendRequestSync(..TargetConfigName, streamCont))

0
Robert Cemper  Nov 29, 2019 to Michel Bruyère

you either remove the reference to the object
or terminate the process that holds the references.

0
Evgeny Shvarov  Nov 29, 2019 to Michel Bruyère

Hi Michel!

have you seen how comic sans is viewed on mobile devices?

 

this is not very easy to read. Do you really need Comic Sans?

0
Michel Bruyère  Nov 29, 2019 to Eduard Lebedyuk

In the process for example:

  • Prod environment:
    SET date = hl7.GetValueAt("MSH:DateTimeOfMessage.Time")
  • Dev environment:
    SET date = hl7.GetValueAt("MSH:DateTimeOfMessage.timeofanevent")
0
Michel Bruyère · Dec 2, 2019

The glitch is related with the browser and probably also the Ensemble's version.

If I use another browser, I got :

If I read the HTML source, I can see my data. So, I have a solution. smiley

0