title: WebService Client Exception: Cannot Import wsdl:binding
body: <p>I got the following errors/warnings in the WebService Client program. </p>
  
  <p>I was told that after if I remove the protocols, such as HTTP/GET and HTTP/POST from my web.config, it should work. But I'm using Windows Form.</p>
  
  <p>How can I do the same in Windows Form?</p>
  
  <pre><code>Warning 1 Custom tool warning: Cannot import wsdl:binding
  Detail: The required WSDL extension element 'binding' from namespace 'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
  XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.webserviceX.NET']/wsdl:binding[@name='countryHttpGet'] C:\Users\user\Documents\Visual Studio 2010\Projects\PublicWebService\PublicWebService\Service References\CountryInfoWebSrv\Reference.svcmap 1 1 PublicWebService
  
  Warning 2 Custom tool warning: Cannot import wsdl:port
  Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
  XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://www.webserviceX.NET']/wsdl:binding[@name='countryHttpGet']
  XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.webserviceX.NET']/wsdl:service[@name='country']/wsdl:port[@name='countryHttpGet'] C:\Users\user\Documents\Visual Studio 2010\Projects\PublicWebService\PublicWebService\Service References\CountryInfoWebSrv\Reference.svcmap 1 1 PublicWebService
  
  Warning 3 Custom tool warning: Cannot import wsdl:binding
  Detail: The required WSDL extension element 'binding' from namespace 'http://schemas.xmlsoap.org/wsdl/http/' was not handled.
  XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.webserviceX.NET']/wsdl:binding[@name='countryHttpPost'] C:\Users\user\Documents\Visual Studio 2010\Projects\PublicWebService\PublicWebService\Service References\CountryInfoWebSrv\Reference.svcmap 1 1 PublicWebService
  
  Warning 4 Custom tool warning: Cannot import wsdl:port
  Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
  XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://www.webserviceX.NET']/wsdl:binding[@name='countryHttpPost']
  XPath to Error Source: //wsdl:definitions[@targetNamespace='http://www.webserviceX.NET']/wsdl:service[@name='country']/wsdl:port[@name='countryHttpPost'] C:\Users\user\Documents\Visual Studio 2010\Projects\PublicWebService\PublicWebService\Service References\CountryInfoWebSrv\Reference.svcmap 1 1 PublicWebService
  </code></pre>