private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(WebServiceScriptSoapClient.GetEndpointAddress(EndpointConfiguration.WebServiceScriptSoap)); }
public WebServiceScriptSoapClient(EndpointConfiguration endpointConfiguration) : base(WebServiceScriptSoapClient.GetBindingForEndpoint(endpointConfiguration), WebServiceScriptSoapClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }