예제 #1
0
 public KWsGhst2Client(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(KWsGhst2Client.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #2
0
 public KWsGhst2Client(EndpointConfiguration endpointConfiguration) :
     base(KWsGhst2Client.GetBindingForEndpoint(endpointConfiguration), KWsGhst2Client.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #3
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(KWsGhst2Client.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IKWsGhst2));
 }
예제 #4
0
 public KWsGhst2Client() :
     base(KWsGhst2Client.GetDefaultBinding(), KWsGhst2Client.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IKWsGhst2.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #5
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(KWsGhst2Client.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IKWsGhst2));
 }