title: What causes a difference between a web service URL and a namespace?
body: <p>I have an ASP.NET web project that contains a Web Service. When I run the service it brings me to a page showing all the methods that are exposed, using a URL similar to <code>http://api.example.com/game/service.asmx</code>.</p>
  
  <p>In the code for the Web Service there are methods that have the following attributes:</p>
  
  <pre><code>    [WebService(Namespace = "http://webservices.example.com/GameServices/Game1")]
      [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
      public class Game1 : System.Web.Services.WebService
      {
          // code 
      }
  </code></pre>
  
  <p>I am a little confused over why the namespace on a class with the webService attribute is different to the path to the web service. Where is that namespace coming from? Is it just made up?</p>