Recently i have upgrate my CXF runtime from 2.5.2 to 2.7.3 and ended up having some of my code broken. In particular, i'm having the following error:
org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/ at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:350) at org.apache.cxf.jaxws.JaxWsServerFactoryBean.createBindingInfo(JaxWsServerFactoryBean.java:182) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpointInfo(AbstractWSDLBasedEndpointFactory.java:258) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:143) at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159) . . . . . Caused by: org.apache.cxf.BusException: No binding factory for namespace http://schemas.xmlsoap.org/wsdl/soap/ registered. at org.apache.cxf.bus.managers.BindingFactoryManagerImpl.getBindingFactory(BindingFactoryManagerImpl.java:123) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createBindingInfo(AbstractWSDLBasedEndpointFactory.java:338) It is really a question of runtime here. Any hints? My code: sf = new JaxWsServerFactoryBean(); AclOverSoapHttpMPInterface implementor = new AclOverSoapHttpMPInterfaceImpl(inbox); sf.setServiceClass(AclOverSoapHttpMPInterface.class); sf.setServiceBean(implementor); sf.setAddress(address.getStringAddress()); sf.create(); My wsdl use soap1.2 binding -- View this message in context: http://cxf.547215.n5.nabble.com/SOAP-biding-tp5723263.html Sent from the cxf-user mailing list archive at Nabble.com.
