Hi, can anybody help. 
I try to create web service with using spring and without using web.xml
But a have error on startup:

/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:126)
        at 
org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:88)
        at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72)
        at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:158)
        ... 62 more/

What i need to add? Any sample?

My springContext is simple:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
           xmlns:jaxws="http://cxf.apache.org/jaxws";
           xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans.xsd
           http://cxf.apache.org/jaxws
           http://cxf.apache.org/schemas/jaxws.xsd";
           default-lazy-init="false">


        <import resource="classpath:META-INF/cxf/cxf.xml"/>
        
        
        

        <bean id="documentWebService"
class="com.otr.sufd.ws.documentws.DocumentWebServicePortTypeImpl">
        </bean>

        <jaxws:endpoint id="documentWebServiceEndpoint"
implementor="#documentWebService"
                                        
address="http://localhost:9000/documentWebService";>
                <jaxws:features>
                        <bean class="org.apache.cxf.feature.LoggingFeature"/>
                </jaxws:features>
                <jaxws:properties>
                        <entry key="schema-validation-enabled" value="true"/>
                </jaxws:properties>
        </jaxws:endpoint>

</beans>

--
View this message in context: 
http://cxf.547215.n5.nabble.com/No-DestinationFactory-was-found-for-the-namespace-http-schemas-xmlsoap-org-soap-http-tp4931517p4931517.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to