karim wrote:
Besides, I've looked in all my wsdl and I've all the time the same name for the port and the deployed service.[EMAIL PROTECTED] wrote:
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"
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"/ <http://locations:8080/axis/services/clientHandlerServicePort%22/>>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Try again to change the port name because there is an extra 'r', I don't know if it'll helps but why not try ;-)
<wsdl:port name = "clientDirectServicePort" binding = "impl:clientDirectBinding">
- <#> <wsdl:service name="*CriterionManagerWithRulesImplService*">
- <#> <wsdl:port name="*CriterionManager*" binding="*impl:CriterionManagerSoapBinding*">
<wsdlsoap:address location="*http://127.0.0.1:8080/axis/services/CriterionManager*" />
</wsdl:port>
</wsdl:service>
Maybe the name of your port would be "clientHandlerServicePort"
