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