public ModificaDocumentoClient(EndpointConfiguration endpointConfiguration) : base(ModificaDocumentoClient.GetBindingForEndpoint(endpointConfiguration), ModificaDocumentoClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public ModificaDocumentoClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(ModificaDocumentoClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(ModificaDocumentoClient.GetBindingForEndpoint(EndpointConfiguration.ModificaDocumento)); }