Exemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(PerfilUsuarioWSClient.GetEndpointAddress(EndpointConfiguration.PerfilUsuarioWSPort));
 }
Exemplo n.º 2
0
 public PerfilUsuarioWSClient(EndpointConfiguration endpointConfiguration) :
     base(PerfilUsuarioWSClient.GetBindingForEndpoint(endpointConfiguration), PerfilUsuarioWSClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }