Exemplo n.º 1
0
 public WebServiceDBSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(WebServiceDBSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemplo n.º 2
0
 public WebServiceDBSoapClient(EndpointConfiguration endpointConfiguration) :
     base(WebServiceDBSoapClient.GetBindingForEndpoint(endpointConfiguration), WebServiceDBSoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }