Hi, Can you check if you put the cxf-rt-bindings-soap-2.7.3.jar into the class path?
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Saturday, February 16, 2013 at 6:08 AM, Maatari wrote: > 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 (http://Nabble.com).
