Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceForMuSoapClient.GetEndpointAddress(EndpointConfiguration.ServiceForMuSoap));
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ServiceForMuSoapClient.GetBindingForEndpoint(EndpointConfiguration.ServiceForMuSoap));
 }
Пример #3
0
 public ServiceForMuSoapClient(EndpointConfiguration endpointConfiguration) :
     base(ServiceForMuSoapClient.GetBindingForEndpoint(endpointConfiguration), ServiceForMuSoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #4
0
 public ServiceForMuSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ServiceForMuSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #5
0
 public ServiceForMuSoapClient() :
     base(ServiceForMuSoapClient.GetDefaultBinding(), ServiceForMuSoapClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.ServiceForMuSoap.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }