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