public WebServicePhongThiNghiemSoapClient(EndpointConfiguration endpointConfiguration) : base(WebServicePhongThiNghiemSoapClient.GetBindingForEndpoint(endpointConfiguration), WebServicePhongThiNghiemSoapClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public WebServicePhongThiNghiemSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(WebServicePhongThiNghiemSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private void btnThietBiDM_Click(object sender, EventArgs e) { WebServicePhongThiNghiemSoap tb = new WebServicePhongThiNghiemSoapClient(); }