An endpoint configuration section for contract 'TempConvert.TempConvertSoap' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name.
You should :
Open your web.config or app.config
Find Binding
Then, on your SoapClient
Replace
TempConvertSoapClient svc = new TempConvertSoapClient();with
TempConvertSoapClient svc = new TempConvertSoapClient("TempConvertSoap");
No comments:
Post a Comment