R
Rob Richardson
Greetings!
I am trying to understand strange behavior in a little test application I
put together to talk to a Web service. If I create an application and add a
Web reference to my web service, Intellisense knows about my web service and
my application builds and runs correctly. The code using the Web service
is:
namespace WebServiceTest
{
<snip>
private void button1_Click(object sender, System.EventArgs e)
{
localhost.CommandRelayer theRelayer;
}
}
But if I change the namespace to PrimeProData.Labels.WebServiceTest, the
name "localhost" is no longer recognized. I do not have a default namespace
set for this project. What do I have to do to make sure I can see a web
reference if I change the namespace of a project?
Thanks very much!
Rob
I am trying to understand strange behavior in a little test application I
put together to talk to a Web service. If I create an application and add a
Web reference to my web service, Intellisense knows about my web service and
my application builds and runs correctly. The code using the Web service
is:
namespace WebServiceTest
{
<snip>
private void button1_Click(object sender, System.EventArgs e)
{
localhost.CommandRelayer theRelayer;
}
}
But if I change the namespace to PrimeProData.Labels.WebServiceTest, the
name "localhost" is no longer recognized. I do not have a default namespace
set for this project. What do I have to do to make sure I can see a web
reference if I change the namespace of a project?
Thanks very much!
Rob