update:

i added 

set pResponse.StringValue  = outparm.GetAt(1)

and all's good.

Thanks!

the output i now get is  "11@%Library.ListOfDataTypes

in log i am getting "getting parm 2 / output 1 = '35'"

do i need to iterate through %ListOfDataTypes ?

Tried That before..still nothing.

in the event log i see "getting parm 2 / output 1 = '33'"

so the output exists...just evading me...

 I checked  before posting.

in the end seems like it was some glitch in the system.

I changed a different value in the GUI ,saved and then reverted and tried setting the above setting and works OK.

the connection does not  complete successfully.

no messages arrive after adding IP to AllowedIPAddresses list 

i tried adding all the sending IP addresses (including the ones i want to filter out) just to see if for some reason me touching  the setting caused the problem, and it that works ok.

when i remove one of the sending IP addresses from the list and receive a message from a IP not in the list. i see "Rejected connection attempt on port ...."  in the log and then  the above error.

Thanks

Hi Eduard,

How do i set credentials and connection string  to run against an external MSSQL Server?.

Thanks

Thanks David,

There is no chance the source will correct their side

so will use second resolution:

should this do the job?

Class Test.BS.HL7.DMS.TCPService Extends EnsLib.HL7.Service.TCPService
{

/// Return the segment terminator string that the Parser and the document.ImportFromIOStream() method will use.
Method GetSegmentTerminator() As %String
{
    Quit $C(28,13,11)
}

Parameter ADAPTER = "Test.Adapter.HL7.DMS.TCPInboundAdapter";

}