Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public TransmissorMensagemClient(EndpointConfiguration endpointConfiguration) :
     base(TransmissorMensagemClient.GetBindingForEndpoint(endpointConfiguration), TransmissorMensagemClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Ejemplo n.º 3
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(TransmissorMensagemClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITransmissorMensagem));
 }
Ejemplo n.º 4
0
 public TransmissorMensagemClient() :
     base(TransmissorMensagemClient.GetDefaultBinding(), TransmissorMensagemClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ITransmissorMensagem.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Ejemplo n.º 5
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(TransmissorMensagemClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITransmissorMensagem));
 }