예제 #1
0
 public ServiceSurferliteClient() :
     base(ServiceSurferliteClient.GetDefaultBinding(), ServiceSurferliteClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IServiceSurferlite.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceSurferliteClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IServiceSurferlite));
 }
예제 #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ServiceSurferliteClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IServiceSurferlite));
 }
예제 #4
0
 public ServiceSurferliteClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ServiceSurferliteClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #5
0
 public ServiceSurferliteClient(EndpointConfiguration endpointConfiguration) :
     base(ServiceSurferliteClient.GetBindingForEndpoint(endpointConfiguration), ServiceSurferliteClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #6
0
 public CallerDepartment()
 {
     //client = new ServiceReferenceAzureLocal.ServiceSurferliteClient();
     client = new ServiceReferenceAzure.ServiceSurferliteClient();
 }