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