Ryan LaNeve wrote:
>
>
> http://tempuri.org is the default namespace assigned to a web service, and
> so long as the service is being accessed via http://localhost (i.e., during
> testing on your machine) you don't see the error you're getting now. Look at
> the definition of your web service and, just above the "public class
> <whatever>" line you'll see an attribute being applied which assigns the
> namespace. Change this to something other than the default and you'll be
> fine.
>
> Good luck,
> Ryan LaNeve
================================================== ===
Thanks for pointing out that this error isn't shown on my local development
machine.
However I already did what you suggested. I've got this in my code:
[System.Web.Services.WebService(Namespace="http://whatever.com/")]
public class Service1 : System.Web.Services.WebService
{ ...
It just doesn't seem to work, and I can't figure out why. I even changed the
default namespace in the project properties.
My original web service was more complex but I created a new Hello World web
service, and it gives the same error.