Пример #1
0
 public WebFacultyListServiceSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(WebFacultyListServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 public WebFacultyListServiceSoapClient(EndpointConfiguration endpointConfiguration) :
     base(WebFacultyListServiceSoapClient.GetBindingForEndpoint(endpointConfiguration), WebFacultyListServiceSoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }