title: Upgrading a ASP.NET 1.1 Web Service using the WSE 2.0 to .NET 3.5
body: <p>We recently upgraded an application that that contained web services using the WSE 2.0 to .NET 3.5.  When we converted the project in Visual Studio 2008, It did not mention anything about the removing and/or modifying the WSE 2.0 namespaces.  Here is the basic architecture of the web services in the .NET 1.1 project.</p>
  
  <p>Web Service Source Code:</p>
  
  <pre><code>[WebService(Namespace="http://tempuri.org")]
  public class MyWebService : BaseWebService
  {
      //Do some stuff
  }
  </code></pre>
  
  <p>BaseWebService Source Code:</p>
  
  <pre><code>using Microsoft.Web.Services2;
  using Microsoft.Web.Services2.Security;
  using Microsoft.Web.Services2.Security.Tokens;
  
  namespace MyNameSpace
  {
      public class BaseWebService : System.Web.Services.WebService
      {
          public BaseWebService()
          {
              if(RequestSoapContext.Current == null)
                  throw new ApplicationExcpetion("Only SOAP requests are permitted.");
          }
      }
  }
  </code></pre>
  
  <p>During the conversion, the BaseWebService.cs class was excluded from the project and the WSE2.0 namespaces were removed from the class.</p>
  
  <p>Have anyone else experiences any issues with trying to upgrade a web service from .NET 1.1 using the WSE to .NET 3.5?</p>
  
  <p>This is related to the previous question I had regarding a client consuming the upgraded web service:</p>
  
  <p><a href="https://stackoverflow.com/questions/185420/issues-with-client-consuming-a-net-web-service-upgraded-from-net-11-to-35">Stack Overflow  Question</a></p>