Exemplo n.º 1
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(BWProvisioningServiceClient.GetBindingForEndpoint(EndpointConfiguration.ProvisioningService));
 }
Exemplo n.º 2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(BWProvisioningServiceClient.GetEndpointAddress(EndpointConfiguration.ProvisioningService));
 }
Exemplo n.º 3
0
 public BWProvisioningServiceClient(EndpointConfiguration endpointConfiguration, string remoteAddress, OcipClientOptions ocipOptions) :
     base(BWProvisioningServiceClient.GetBindingForEndpoint(endpointConfiguration, new Uri(remoteAddress), ocipOptions), new System.ServiceModel.EndpointAddress(remoteAddress))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }