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