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