Currently we’re using in code <System.Web.Services.WebService(Namespace:="https://ourservice/")> to set the namespace, can this be done in web.config, instead? I’ve looked but can’t find where?
VS2008, ASMX web service.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The most important question hasn’t been asked: why do you think you want to do this.
Most people who ask this question are under the impression that the namespace is related to the URL at which the service is deployed. They have nothing at all to do with each other. In fact, the namespace could be a URI like “urn:services.yourcompany.com”, which is clearly not a location on the Internet.