This should definitely make its way in the docs, but here is an example from
the mailing list earlier:
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml"
/>
<bean id="JaxWsServiceFactoryBean"
class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="false"/>
</bean>
<jaxws:endpoint id="restfulServer"
implementor="YourServiceImpl"
address="/address"
bindingUri="http://apache.org/cxf/binding/http">
<jaxws:serviceFactory>
<ref bean="JaxWsServiceFactoryBean"/>
</jaxws:serviceFactory>
</jaxws:endpoint>
Hope that helps,
- Dan
On 7/13/07, Brad O'Hearne <[EMAIL PROTECTED]> wrote:
How do I configure the RESTful HTTP-binding with Spring, as opposed to
the SOAP binding given in the documentation?
Thanks,
Brad
--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog