title: Connecting to website's SOAP API with C#
body: <p>I'm trying to connect to the a provider website which has a soap based API.  I'm new to C# so I am not really sure how to do it.  I've been googling around like mad but I am getting nothing but errors.  Here is what I've done.</p>
  
  <p>I've added the URL (ex:<a href="http://www.companysite.com/api/api.cfc?wsdl" rel="nofollow">http://www.companysite.com/api/api.cfc?wsdl</a>) as a web service inside my .net solution and gave it a namespace of CompanyAPI.</p>
  
  <p>If i right click on the service reference inside the solution explorer window, then go to object explorer.  I can see all of the available methods.</p>
  
  <p>When i try to instantiate it is when I get errors like cannot instantiate an instance of abstract class.</p>
  
  <pre><code>'CompanyApi.Api MBApi = new MyApp.CompanyApi.Api();'
  </code></pre>
  
  <p>I have no clue what i am doing wrong.  Thanks in advance for any help.</p>