title: Error: Emitter Failure Undefined Binding <MusicBinding> in the WSDL Document
body: <p>Here is my code currently, cannot find a way of making this compile, any ideas why not?</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks Lee Wishaw</p>
  
  <p>                        </p>
  
  
  
  <p>        </p>
  
  <p>                                                   </p>
  
  <pre><code>&lt;xsd:schema
   targetNamespace="urn:Music"
   xmlns="http://www.w3.org/2001/XMLSchema"&gt;             &lt;!-- start schema --&gt;
  
    &lt;complexType name="trackDetail"&gt;               &lt;!-- start 'trackDetail' type --&gt;
      &lt;sequence&gt;                                         &lt;!-- start fields --&gt;
        &lt;element name="discNumber" type="xsd:integer"/&gt;         &lt;!-- 'disc' field --&gt;
        &lt;element name="trackNumber" type="xsd:integer"/&gt;        &lt;!-- 'track' field --&gt;
        &lt;element name="composerName" type="xsd:string"/&gt;       &lt;!-- 'composer' field --&gt;
        &lt;element name="workName" type="xsd:string"/&gt;          &lt;!-- 'work' field --&gt;
        &lt;element name="titleName" type="xsd:string"/&gt;         &lt;!-- 'title' field --&gt;
      &lt;/sequence&gt;                                          &lt;!-- end fields --&gt;
    &lt;/complexType&gt;                                &lt;!-- end 'trackDetail' type --&gt;
  
  &lt;/xsd:schema&gt;                                            &lt;!-- end schema --&gt;
  </code></pre>
  
  <p>                                                    </p>
  
  <p>                   
                      
                                            </p>
  
  <p>             
              
                                         </p>
  
  <p>             
              
                                         </p>
  
  <p>                     
                         
                                             </p>
  
  <p>                          </p>
  
  <pre><code>&lt;operation name="getByComposer"&gt;                &lt;!-- start 'getByComposer' operation --&gt;
  
    &lt;documentation&gt;                     &lt;!-- start 'getByComposer' documentation --&gt;
      The approve operation takes a search with a composers name,
      and returns the details about the track.
    &lt;/documentation&gt;                      &lt;!-- end 'getByComposer' documentation --&gt;
  
    &lt;input message="getByComposerMessage"/&gt;            &lt;!-- input of 'getByComposer' --&gt;
    &lt;output message="resultMessage"/&gt;              &lt;!-- output of 'result' --&gt;
    &lt;fault name="notFound" message="errorMessage"/&gt;
                                      &lt;!-- fault 'notFound' message 'error' --&gt;
  &lt;/operation&gt;                                &lt;!-- end 'getByComposer' operation --&gt;
  
  
  &lt;operation name="getByDisc"&gt;                &lt;!-- start 'getByDisc' operation --&gt;
  
    &lt;documentation&gt;                     &lt;!-- start 'getByDisc' documentation --&gt;
      The approve operation takes a search with a disk number,
      and returns the details about the track.
    &lt;/documentation&gt;                      &lt;!-- end 'getByDisc' documentation --&gt;
  
    &lt;input message="getByDiscMessage"/&gt;            &lt;!-- input of 'getByDisc' --&gt;
    &lt;output message="resultMessage"/&gt;              &lt;!-- output of 'result' --&gt;
    &lt;fault name="notFound" message="errorMessage"/&gt;
                                      &lt;!-- fault 'notFound' message 'error' --&gt;
  &lt;/operation&gt;                                &lt;!-- end 'getByDisc' operation --&gt;
  </code></pre>
  
  <p>                                           </p>
  
  <p> </p>
  
  <pre><code>&lt;soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http"/&gt;    &lt;!-- rpc binding --&gt;
  
  &lt;operation name="getByComposer"&gt;                &lt;!-- start 'getByComposer' operation --&gt;
    &lt;soap:operation soapAction=""/&gt;                 &lt;!-- empty SOAP action --&gt;
    &lt;input&gt;                                  &lt;!-- start 'getByComposer' binding --&gt;
      &lt;soap:body use="literal" namespace="urn:Music"
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                                                     &lt;!-- literal encoding --&gt;
    &lt;/input&gt;                                   &lt;!-- end 'search' binding --&gt;
    &lt;output&gt;                                     &lt;!-- start 'result' binding --&gt;
      &lt;soap:body use="literal" namespace="urn:Music"
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                                                     &lt;!-- literal encoding --&gt;
    &lt;/output&gt;                                      &lt;!-- end 'result' binding --&gt;
    &lt;fault name="notFound"&gt;                    &lt;!-- start 'notFound' binding --&gt;
      &lt;soap:fault use="literal" namespace="urn:Music"
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                                                     &lt;!-- literal encoding --&gt;
    &lt;/fault&gt;                                    &lt;!-- end 'notFound' binding --&gt;
  &lt;/operation&gt;                                &lt;!-- end 'getByComposer' operation --&gt;
  
  &lt;operation name="getByDisc"&gt;                &lt;!-- start 'getByDisc' operation --&gt;
    &lt;soap:operation soapAction=""/&gt;                 &lt;!-- empty SOAP action --&gt;
    &lt;input&gt;                                  &lt;!-- start 'getByDisc' binding --&gt;
      &lt;soap:body use="literal" namespace="urn:Music"
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                                                     &lt;!-- literal encoding --&gt;
    &lt;/input&gt;                                   &lt;!-- end 'search' binding --&gt;
    &lt;output&gt;                                     &lt;!-- start 'result' binding --&gt;
      &lt;soap:body use="literal" namespace="urn:Music"
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                                                     &lt;!-- literal encoding --&gt;
    &lt;/output&gt;                                      &lt;!-- end 'result' binding --&gt;
    &lt;fault name="notFound"&gt;                    &lt;!-- start 'notFound' binding --&gt;
      &lt;soap:fault use="literal" namespace="urn:Music"
       encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/&gt;
                                                     &lt;!-- literal encoding --&gt;
    &lt;/fault&gt;                                    &lt;!-- end 'notFound' binding --&gt;
  &lt;/operation&gt;                                &lt;!-- end 'getByDisc' operation --&gt;
  </code></pre>
  
  <p>                                         </p>
  
  <p>             </p>
  
  <pre><code>&lt;documentation&gt;                      &lt;!-- start 'music' documentation --&gt;
    This is a music search service that returns a tracks details based on the
    composers name or disk number.
  &lt;/documentation&gt;                
  &lt;!-- end 'music' documentation --&gt;
  
  &lt;port name="musicPort" binding="MusicBinding"&gt;
                                                &lt;!-- start 'music' port --&gt;
    &lt;soap:address
     location="http://localhost:8080/active-bpel/services/MusicPort"/&gt;
                                                         &lt;!-- SOAP address --&gt;
  &lt;/port&gt;                                         &lt;!-- end 'music' port --&gt;
  </code></pre>
  
  <p>                                     </p>
  
  <p>                                          </p>