Example #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(NotaWSClient.GetEndpointAddress(EndpointConfiguration.NotaWSPort));
 }
Example #2
0
 public NotaWSClient(EndpointConfiguration endpointConfiguration) :
     base(NotaWSClient.GetBindingForEndpoint(endpointConfiguration), NotaWSClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }