ASMX: What should tempuri.org be replaced with?

Posted by JL on Stack Overflow See other posts from Stack Overflow or by JL
Published on 2010-03-08T16:17:01Z Indexed on 2010/03/08 16:21 UTC
Read the original article Hit count: 490

Filed under:
|
|

Every new web service you create using visual studio comes with a predefined namespace like this:

[WebService(Namespace = "http://tempuri.org/")]

My web service will run at different clients, and on different domains, so because of this I don't know the domain upfront during development, also I don't want to have to edit this file, each time I deploy to a new client.

What exactly should the value of Namespace be? It seems like a web address, but that doesn't make sense to me.

Please explain.

Thanks

© Stack Overflow or respective owner

Related posts about asmx

Related posts about webservices