Problem calling a Web Service referenced object.
- From: francisco.lopez@xxxxxxxxxxxxxxxx <francisco.lopez@xxxxxxxxxxxxxxxx>
- Date: Fri, 09 Dec 2005 11:52:37 -0800
Hi,
I have C# solution that requires a call to a web service in our network. At this time the service is being tested on my local machine (aka: localhost).
I am able to Add Web Reference... into the project; however, when i go to reference the web service like this:
localhost.ServiceName _webService = null; ser.vice.name.object _theService = null;
I get the following Build error:
The type or namespace name 'localhost' could not be found (are you missing a using directive or an assembly reference?)
It is worth noting Intellisense does not work.
I have tried referencing other test web services i have lying around my test box (These web services work from the browser and from other solutions perfectly.) They get the same build errors.
Are my missing something obvious here?
Francisco
.
- Follow-Ups:
- Re: Problem calling a Web Service referenced object.
- From: francisco . lopez
- Re: Problem calling a Web Service referenced object.
- Prev by Date: Re: Remote Connection Fails with Web Service
- Next by Date: Re: Problem calling a Web Service referenced object.
- Previous by thread: Different behaviour when adding the same WSDL from the local development server or from a remote machine
- Next by thread: Re: Problem calling a Web Service referenced object.
- Index(es):
Relevant Pages
|