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