title: Error: Unable to import binding 'CustomBinding_IWSTrustFeb2005Async' from namespace
body: <p>Using ASP.NET  / Visual Studio 2005 / 2012:</p>
  
  <p>I have a .wsdl file from service provider, which I need to test.
  I ran <code>wsdl.exe myfile.wsdl</code> from Vs command promopt but I get this error:</p>
  
  <pre><code>Error: Unable to import binding 'CustomBinding_IWSTrustFeb2005Async' from namespace 'http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice'.
  - Unable to import operation 'TrustFeb2005IssueAsync'.
  - The element 'http://schemas.xmlsoap.org/ws/2005/02/trust:RequestSecurityToken' is missing.
  </code></pre>
  
  <p>I also tried to Add Web Reference from VS 2005 and VS 2012 but that is also throwing weird error.</p>
  
  <pre><code> - The WSDL document contains links that could not be resolved.
    - There was an error downloading 'file:///C:/Users/abcd12/Documents/Visual Studio 2005/MyWebserviceTest/mex.xsd'.
  </code></pre>
  
  <p>Any idea what's wrong or where should I start looking into?</p>
  
  <p><strong>Update:</strong> The Visual Studio error adding reference is gone once I removed the entry to type import referencing mex.xsd.
  But now VS is also giving the same error as command prompt.</p>
  
  <p><strong>Update:</strong> Looks like the wsdl is corrupted. Waiting from the provider to give me updated wsdl. </p>
  
  <p>I will update here if I need any further help.</p>