[ https://issues.apache.org/jira/browse/CXF-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pawel Lipka resolved CXF-1637. ------------------------------ Resolution: Invalid I think I simply need to have cxf-rt-transports-http on the classpath. > No DestinationFactory was found for the namespace > http://schemas.xmlsoap.org/soap/http > -------------------------------------------------------------------------------------- > > Key: CXF-1637 > URL: https://issues.apache.org/jira/browse/CXF-1637 > Project: CXF > Issue Type: Bug > Components: Soap Binding, Transports > Affects Versions: 2.1 > Reporter: Pawel Lipka > > I have a service built from a wsdl file. The wsdl file contains the > soap:binding stanza that as follows: > <wsdlsoap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http" /> > when i try to deploy this service in cxf with cxf-rt-bindings-soap.jar on the > classpath I get the following error: > Caused by: org.apache.cxf.service.factory.ServiceConstructionException > at > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:134) > at > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:160) > at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:322) > at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:244) > ... 16 more > Caused by: org.apache.cxf.BusException: No DestinationFactory was found for > the namespace http://schemas.xmlsoap.org/soap/http. > at > org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115) > at > org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:86) > at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69) > at > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:115) > I think that the actual cause is that the SOAPTransportFactory is registered > for the following uris/namespaces only: > <value>http://schemas.xmlsoap.org/soap/</value> > <value>http://schemas.xmlsoap.org/wsdl/soap/</value> > <value>http://schemas.xmlsoap.org/wsdl/soap12/</value> > Plz note that the transport uri I have put into the binding's transport > attribute is a valid one (triple chekced against various wsdls on the > internet e.g. from Amazon). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.