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