title: wsdl binding not found in wsdl file
body: <p>I've got the following wsdl file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;wsdl:definitions targetNamespace="http://www.minfin.fgov.be/bbf/extern/myMinfin/"   xmlns="http://www.minfin.fgov.be/bbf/extern/myMinfin" xmlns:pols="http://www.minfin.fgov.be/bbf/extern/myMinfin/policies"
  
  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  
  &lt;wsdl:types&gt;
  &lt;xsd:schema targetNamespace="http://www.minfin.fgov.be/bbf/extern/myMinfin/"&gt;
    &lt;xsd:import namespace="http://www.minfin.fgov.be/bbf/extern/myMinfin/policies" schemaLocation="getPolicies.xsd" /&gt;
  &lt;/xsd:schema&gt;
  &lt;/wsdl:types&gt;
  
  &lt;wsdl:message name="policiesForPersonRequest"&gt;
    &lt;wsdl:part name="policiesForPerson" element="pols:policiesForPersonRequest" /&gt;
  &lt;/wsdl:message&gt;
  
  &lt;wsdl:message name="policiesOutput"&gt;
    &lt;wsdl:part name="policies" element="pols:policiesResponse" /&gt;
  &lt;/wsdl:message&gt;
  
  &lt;wsdl:portType name="MyMinfinService"&gt;
    &lt;wsdl:operation name="getPoliciesForPerson"&gt;
      &lt;wsdl:input message="policiesForPersonRequest" /&gt;
      &lt;wsdl:output message="policiesOutput" /&gt;
    &lt;/wsdl:operation&gt;
  &lt;/wsdl:portType&gt;
  
  &lt;wsdl:binding name="MyMinfinServiceHTTPBinding" type="MyMinfinService"&gt;
    &lt;wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /&gt;
    &lt;wsdl:operation name="getPoliciesForPerson"&gt;
      &lt;wsdlsoap:operation soapAction="" /&gt;
      &lt;wsdl:input&gt;
        &lt;wsdlsoap:body use="literal" /&gt;
      &lt;/wsdl:input&gt;
      &lt;wsdl:output&gt;
        &lt;wsdlsoap:body use="literal" /&gt;
      &lt;/wsdl:output&gt;
    &lt;/wsdl:operation&gt;
  &lt;/wsdl:binding&gt;
  
  &lt;wsdl:service name="MyMinfinServicePorts"&gt;
    &lt;wsdl:port binding="MyMinfinServiceHTTPBinding" name="MyMinfinService"&gt;
      &lt;wsdlsoap:address location="http://localhost:7001/bbf/MyMinfinService" /&gt;
    &lt;/wsdl:port&gt;
  &lt;/wsdl:service&gt;
  
  &lt;/wsdl:definitions&gt;
  </code></pre>
  
  <p>The xsd behind it:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;xs:schema xmlns="http://www.minfin.fgov.be/bbf/extern/myMinfin/policies" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.minfin.fgov.be/bbf/extern/myMinfin/policies"
  elementFormDefault="qualified" attributeFormDefault="unqualified"&gt;
  
  &lt;xs:element name="policiesForPersonRequest"&gt;
  &lt;xs:annotation&gt;
    &lt;xs:documentation&gt;The request from where all available policies must be returned.&lt;/xs:documentation&gt;
  &lt;/xs:annotation&gt;
  &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="FI_enterpriseNumber"&gt;
        &lt;xs:annotation&gt;
          &lt;xs:documentation&gt;The KBO / enterprise number of the financial institution.&lt;/xs:documentation&gt;
        &lt;/xs:annotation&gt;
        &lt;xs:simpleType&gt;
          &lt;xs:restriction base="xs:string"&gt;
            &lt;xs:length value="10" /&gt;
            &lt;xs:pattern value="[0-9]{10}" /&gt;
          &lt;/xs:restriction&gt;
        &lt;/xs:simpleType&gt;
      &lt;/xs:element&gt;
      &lt;xs:element name="RRNOrBIS"&gt;
        &lt;xs:annotation&gt;
          &lt;xs:documentation&gt;The national number or bis number.&lt;/xs:documentation&gt;
        &lt;/xs:annotation&gt;
        &lt;xs:simpleType&gt;
          &lt;xs:restriction base="xs:string"&gt;
            &lt;xs:length value="11" /&gt;
            &lt;xs:pattern value="[0-9]{11}" /&gt;
          &lt;/xs:restriction&gt;
        &lt;/xs:simpleType&gt;
      &lt;/xs:element&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  
  
  
  &lt;xs:element name="policiesResponse"&gt;
  &lt;xs:annotation&gt;
    &lt;xs:documentation&gt;Available policies.&lt;/xs:documentation&gt;
  &lt;/xs:annotation&gt;
  &lt;xs:complexType&gt;
    &lt;xs:sequence&gt;
      &lt;xs:element name="policy" maxOccurs="999"&gt;
        &lt;xs:annotation&gt;
          &lt;xs:documentation&gt;A policy.&lt;/xs:documentation&gt;
        &lt;/xs:annotation&gt;
        &lt;xs:complexType&gt;
          &lt;xs:sequence&gt;
            &lt;xs:element name="policyNumber" &gt;
              &lt;xs:annotation&gt;
                &lt;xs:documentation&gt;Insurance policy number.&lt;/xs:documentation&gt;
              &lt;/xs:annotation&gt;
              &lt;xs:simpleType&gt;
                &lt;xs:restriction base="xs:string"&gt;
                  &lt;xs:length value="255" /&gt;
                &lt;/xs:restriction&gt;
              &lt;/xs:simpleType&gt;
            &lt;/xs:element&gt;
            &lt;xs:element name="policyName" type="xs:string"&gt;
              &lt;xs:annotation&gt;
                &lt;xs:documentation&gt;The name of the policy.&lt;/xs:documentation&gt;
              &lt;/xs:annotation&gt;
            &lt;/xs:element&gt;
          &lt;/xs:sequence&gt;
        &lt;/xs:complexType&gt;
      &lt;/xs:element&gt;
    &lt;/xs:sequence&gt;
  &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>I'm getting the following error:</p>
  
  <pre><code>wsdl:binding "{http://www.minfin.fgov.be/bbf/extern/myMinfin}MyMinfinServiceHTTPBinding" not found in the wsdl: file:/C:/BBF2/FUP_04_Implementation/FUP_00_Source/Project_Folder/BBF_EXTERNAL_CONTRACTS/src/main/resources/myMinfin/myMinfin.wsdl
  </code></pre>
  
  <p>what could be wrong?</p>