I have a project that uses a class library for the business layer functionality (database access, etc.). A web application sits on top of this. I have a web service that I would like to call in the class library. Every time I add a 'service reference' (I am using VS2008) to the class library, everything seems to work OK. The name of the web service is 'EmployeeService'. However, when I try to access it from code, intellisense gives me options like:
'EmployeeServiceSoap'
'EmployeeServiceSoapChannel'
'EmployeeServiceSoapClient'
and lots of '...Request'
'...RequestBody'
'...RequestResponse' types.
I can't access my EmployeeService class even if I write it anyway the compiler will complain. Any ideas? Thanks for any help...