Example #1
0
        private void Connect()
        {
            KNLTBService.ServerNameClient = "http://apps4us-knltb.nl//webserviceKNLTB.asmx";

            remoteAddress = new Service.KNLTBEndpointAddress(KNLTBService.ServerNameClient);

            client = new KNLTBSoapClient(binding, remoteAddress);
        }
Example #2
0
 public void Dispose()
 {
     if (client != null)
     {
         client.InnerChannel.Dispose();
         client = null;
     }
 }