Exemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(PurchaseOrderDetailsServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IPurchaseOrderDetailsService));
 }
Exemplo n.º 2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(PurchaseOrderDetailsServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IPurchaseOrderDetailsService));
 }
Exemplo n.º 3
0
 public PurchaseOrderDetailsServiceClient(EndpointConfiguration endpointConfiguration) :
     base(PurchaseOrderDetailsServiceClient.GetBindingForEndpoint(endpointConfiguration), PurchaseOrderDetailsServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemplo n.º 4
0
 public PurchaseOrderDetailsServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(PurchaseOrderDetailsServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemplo n.º 5
0
 public PurchaseOrderDetailsServiceClient() :
     base(PurchaseOrderDetailsServiceClient.GetDefaultBinding(), PurchaseOrderDetailsServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IPurchaseOrderDetailsService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }