I created 2 projects in my solution:
- Classic asp.net web service (asmx)
- Class library project which references service
- web site project which references class library project
- Windows app project which references service.
Both projects were created in 3.5 framework and in Visual Studio 2008 Beta 2.
I added web service reference to Class library project. When it asked for namespace I typed "CurrencyProxy". Projects build ok, but when I run web app, Class library throws an error: Could not find default endpoint element that references contract 'CurrencyProxy.CurrencyServiceSoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract
could be found in the client element.
I believe it has something to do with app.config in Class library project. Here is part from app.config:
<binding name="CurrencyServiceSoap" closeTimeout=
View Complete Post