You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Tobse <to...@seetec.de> on 2015/01/14 13:26:37 UTC
ServiceConstructionException: Could not resolve a binding for
http://schemas.xmlsoap.org/wsdl/soap12/
Hi together. :)
We have wsdl files without service and generated code with Apache CXF 2.7.
We have a JaxWsProxyFactoryBean and call
setBindingId("http://schemas.xmlsoap.org/wsdl/soap12/") on it.
This code worked fine.
Now we downloaded Apache CXF 3.0.3 and generated the code again.
Now we get the following exception when trying to create a service:
org.apache.cxf.service.factory.ServiceConstructionException: Could not
resolve a binding for http://schemas.xmlsoap.org/wsdl/soap12/
What do we have to change to make our code work again?
Thanks.
--
View this message in context: http://cxf.547215.n5.nabble.com/ServiceConstructionException-Could-not-resolve-a-binding-for-http-schemas-xmlsoap-org-wsdl-soap12-tp5753017.html
Sent from the cxf-user mailing list archive at Nabble.com.
RE: ServiceConstructionException: Could not resolve a binding for
http://schemas.xmlsoap.org/wsdl/soap12/
Posted by Andrei Shakirin <as...@talend.com>.
Hi,
Please check that cxf-rt-bindings-soap jar is on the classpath.
Regards,
Andrei.
> -----Original Message-----
> From: Tobse [mailto:tobias.rottner@seetec.de]
> Sent: Mittwoch, 14. Januar 2015 14:52
> To: users@cxf.apache.org
> Subject: Re: ServiceConstructionException: Could not resolve a binding for
> http://schemas.xmlsoap.org/wsdl/soap12/
>
> Here is the stacktrace ...
>
> org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve
> a binding for http://schemas.xmlsoap.org/wsdl/soap12/
> at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo
> (AbstractWSDLBasedEndpointFactory.java:352)
> at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInf
> o(AbstractWSDLBasedEndpointFactory.java:259)
> at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(A
> bstractWSDLBasedEndpointFactory.java:144)
> at
> org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
> at
> org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBea
> n.java:157)
> at
> org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.j
> ava:142)
> at
> org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBea
> n.java:93)
> ...
> Caused by: org.apache.cxf.BusException: No binding factory for namespace
> http://schemas.xmlsoap.org/wsdl/soap12/ registered.
> at
> org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(B
> indingFactoryManagerImpl.java:93)
> at
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo
> (AbstractWSDLBasedEndpointFactory.java:339)
> ... 20 more
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/ServiceConstructionException-Could-not-
> resolve-a-binding-for-http-schemas-xmlsoap-org-wsdl-soap12-
> tp5753017p5753020.html
> Sent from the cxf-user mailing list archive at Nabble.com.
Re: ServiceConstructionException: Could not resolve a binding for
http://schemas.xmlsoap.org/wsdl/soap12/
Posted by Tobse <to...@seetec.de>.
Here is the stacktrace ...
org.apache.cxf.service.factory.ServiceConstructionException: Could not
resolve a binding for http://schemas.xmlsoap.org/wsdl/soap12/
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:352)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:259)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:144)
at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:91)
at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:157)
at
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:142)
at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:93)
...
Caused by: org.apache.cxf.BusException: No binding factory for namespace
http://schemas.xmlsoap.org/wsdl/soap12/ registered.
at
org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:93)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:339)
... 20 more
--
View this message in context: http://cxf.547215.n5.nabble.com/ServiceConstructionException-Could-not-resolve-a-binding-for-http-schemas-xmlsoap-org-wsdl-soap12-tp5753017p5753020.html
Sent from the cxf-user mailing list archive at Nabble.com.