Hello,
 
I would truly appreciate some help with this error. This is one of those things where I believe an extra set of eyes could easily solve. I have the following WSDL documents, and I am receiving the following error:
 
java.io.IOException: Emitter failure.  There is an undefined binding (clientDire
ctBinding) in the WSDL document.
Hint: make sure <port binding=".."> is fully qualified.
 
I am almost certain that this is a namespace issue, as I am not a pro at XML namespaces or WSDL, though not a beginner, I am hopeful somebody out there can easily solve this. Here are two of my WSDL documents. This should be sufficient to find the problem:
 
<?xml version="1.0" encoding="UTF-8"?>
 
<wsdl:definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:impl = "http://localhost:8080/axis/services/clientHandlerServicePort"
xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl/"
xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xs   = "http://www.w3.org/2001/XMLSchema"
xmlns:data = ""http://localhost:8080/axis/service/clientHandlerServicePort">http://localhost:8080/axis/service/clientHandlerServicePort"
 
targetNamespace = "http://localhost:8080/axis/services/clientHandlerServicePort" name = "clientDirect"
>
 
<wsdl:documentation>
!! clientDirectService.wsdl !!
!!    Created by James Crosson  !!

!! June 23, 2004   !!
</wsdl:documentation>
 
<wsdl:import namespace = "http://localhost:8080/axis/services/clientHandlerServicePort" location = "clientDirectBinding.wsdl"/>
 
<wsdl:service name = "clientDirectService">
  <wsdl:port name = "clientDirectrServicePort" binding = "impl:clientDirectBinding">
    <soap:address location = "http://locations:8080/axis/services/clientHandlerServicePort"/>
  </wsdl:port>
</wsdl:service>
 
</wsdl:definitions>
 
<?xml version = "1.0" encoding = "UTF-8"?>
 
<wsdl:definitions
xmlns      = "http://schemas.xmlsoap.org/wsdl"
xmlns:impl = "http://localhost:8080/axis/services/clientHandlerServicePort"
xmlns:wsdl = "http://schemas.xmlsoap.org/wsdl"
xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap"
xmlns:xs   = "http://www.w3.org/2001/XMLSchema"
xmlns:data = ""http://localhost:8080/axis/service/clientHandlerServicePort">http://localhost:8080/axis/service/clientHandlerServicePort"
 
targetNamespace = "http://localhost:8080/axis/services/clientHandlerServicePort" name = "clientDirect"
>
 

<wsdl:documentation>
!! clientDirectBinding.wsdl !!
!!    Created by James Crosson  !!

!! June 23, 2004   !!
</wsdl:documentation>
 

<wsdl:import namespace = "http://localhost:8080/axis/services/clientHandlerServicePort" location = "clientDirect.wsdl"/>
 

<wsdl:binding name = "clientDirectBinding" type = "impl:clientHandler">
  <soap:binding style = "document" transport = "http://schemas.xmlsoap.org/soap/http"/>
 

  <wsdl:operation name = "getReport">
    <soap:operation soapAction = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
 
    <wsdl:input>
      <soap:body use = "literal" namespace = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
    </wsdl:input>
 
    <wsdl:output>
      <soap:body use = "literal" namespace = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
    </wsdl:output>
 
  </wsdl:operation>
 

  <wsdl:operation name = "query">
    <soap:operation soapAction = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
 
    <wsdl:input>
      <soap:body use = "literal" namespace = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
    </wsdl:input>
 
    <wsdl:output>
      <soap:body use = "literal" namespace = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
    </wsdl:output>
 
  </wsdl:operation> 
 

  <wsdl:operation name = "queryList">
    <soap:operation soapAction = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
 
    <wsdl:input>
      <soap:body use = "literal" namespace = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
    </wsdl:input>
 
    <wsdl:output>
      <soap:body use = "literal" namespace = "http://localhost:8080/axis/services/clientHandlerServicePort"/>
    </wsdl:output>
 
  </wsdl:operation>
 
</wsdl:binding>
 
</wsdl:definitions>
 
 
Thanks,
James Crosson

Reply via email to