diff --git a/Modules.EDMIAPI/Client.vb b/Modules.EDMIAPI/Client.vb index 7c1a2dea..c2bad5be 100644 --- a/Modules.EDMIAPI/Client.vb +++ b/Modules.EDMIAPI/Client.vb @@ -106,6 +106,8 @@ Public Class Client Dim oAddress = New EndpointAddress($"net.tcp://{IPAddress}:{PortNumber}/DigitalData/Services/Main") Dim oFactory = New ChannelFactory(Of IEDMIServiceChannel)(oBinding, oAddress) + Logger.Debug("Connecting to Service at: [{0}]", oAddress) + ChannelFactory = oFactory Catch ex As Exception Logger.Error(ex) @@ -122,6 +124,7 @@ Public Class Client Logger.Debug("Opening channel..") Channel.Open() + Dim oResponse = Channel.GetClientConfig() If oResponse.OK Then ClientConfig = oResponse.ClientConfig