Last post Oct 21, 2012 11:28 PM by Steven Cheng - MSFT
Oct 19, 2012 01:40 AM|sfiros2003|LINK
I could add WebService to my project 'TestService'. But Cannot Use Web Service in code (Cannot see the namespace 'TestService') why?
Oct 19, 2012 01:48 AM|anil.india|LINK
Have you taken reference of yor service in your project? Plz check
Oct 19, 2012 01:51 AM|narendrajarad|LINK
Oct 19, 2012 02:35 AM|sfiros2003|LINK
Yes i have taken reference of service in project.
Oct 21, 2012 01:38 AM|anil.india|LINK
If references are available then you may missing to include that namespace into your code.
If this is also there, then check accessibility of that
Oct 21, 2012 11:28 PM|Steven Cheng - MSFT|LINK
Are you using Web Application or web site project template for your we app? For Web site project, you need to save all items after you've added the webservice reference in your project.
Also, I'd suggest you first creating a test Console project and add the webservice reference (either ServiceReference or WebReference) against the target service and make sure it works. Then, we can make sure the service is ok and further concentrate on
the web application.
#How to: Add, Update, or Remove a Service Reference
#Add Web Reference in Visual Studio 2010