You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by NY...@aol.com on 2004/06/25 16:15:02 UTC

Peculiar Error; Appreciate Some Help

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/_ (http://schemas.xmlsoap.org/wsdl/) "
xmlns:impl  = "_http://localhost:8080/axis/services/clientHandlerServicePort_ 
(http://localhost:8080/axis/services/clientHandlerServicePort) "
xmlns:wsdl  = "_http://schemas.xmlsoap.org/wsdl/_ 
(http://schemas.xmlsoap.org/wsdl/) "
xmlns:soap  = "_http://schemas.xmlsoap.org/wsdl/soap/_ 
(http://schemas.xmlsoap.org/wsdl/soap/) "
xmlns:xs    = "_http://www.w3.org/2001/XMLSchema_ 
(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_ (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_ (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"/) >
</wsdl:port>
</wsdl:service>
 
</wsdl:definitions>
 
<?xml version = "1.0" encoding = "UTF-8"?>
 
<wsdl:definitions
xmlns      = "_http://schemas.xmlsoap.org/wsdl_ 
(http://schemas.xmlsoap.org/wsdl) "
xmlns:impl  = "_http://localhost:8080/axis/services/clientHandlerServicePort_ 
(http://localhost:8080/axis/services/clientHandlerServicePort) "
xmlns:wsdl  = "_http://schemas.xmlsoap.org/wsdl_ 
(http://schemas.xmlsoap.org/wsdl) "
xmlns:soap  = "_http://schemas.xmlsoap.org/wsdl/soap_ 
(http://schemas.xmlsoap.org/wsdl/soap) "
xmlns:xs    = "_http://www.w3.org/2001/XMLSchema_ 
(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_ (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_ (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"/_ (http://schemas.xmlsoap.org/soap/http"/) >
 

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

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

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

Re: Peculiar Error; Appreciate Some Help

Posted by karim <k....@clipack.com>.
NYY96@aol.com 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>
>  
> <?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"
>  
>
I'm not sure but I think that I won't be worst if you add an 's' char to 
service ;-) :

xmlns:data = 
"http://localhost:8080/axis/services/clientHandlerServicePort 
<http://localhost:8080/axis/service/clientHandlerServicePort>"

Re: Peculiar Error; Appreciate Some Help

Posted by karim <k....@clipack.com>.
karim wrote:

> NYY96@aol.com 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">
>
>
Besides, I've looked in all my wsdl and I've all the time the same name 
for the port and the deployed service.

- <#> <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"





Re: Peculiar Error; Appreciate Some Help

Posted by karim <k....@clipack.com>.
NYY96@aol.com 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">