title: Error adding a service reference to Visual Studio via WSDL
body: <p>I have been given a WSDL with all the method requests and responses, and all the objects I'll need to use for creating a few web methods.</p>
  
  <p>I've successfully added the WSDL as a "service reference" and I can see the methods and structures and can instantiate them. It all seems to be there. But, I have a problem: the project won't build after I add the WSDL. Here's the error message I am getting when Visual Studio tries to compile <code>Reference.cs</code>:</p>
  
  <blockquote>
    <p>"Error 2 The type name 'ServiceReference1' does not exist in the type
    'WSPELab.WSPELab' C:\Users\JJ\Documents\Visual Studio
    2008\Projects\WSPELab\WSPELab\Service
    References\ServiceReference1\Reference.cs 21 111 WSPELabSLN</p>
  </blockquote>
  
  <p>Is it possible that I am receiving this error message because of a namespace error on my part?</p>
  
  <p>Finally, one additional question: With the WSDL added, can I use the structures it contains directly? Or are they just "listings" for me to implement?</p>