I know, I thought I was well beyond this type of exception. I'm trying to
add RESTfulness to my currently deployed beans and the container is choking
on startup. I'm importing the http bindings in the same manner as the
others. Anyone see why this would fail?
Config:
<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-extension-xml.xml"/>
<import resource="classpath:META-INF/cxf/cxf-extension-http-binding.xml
"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<!-- Local -->
<bean id="PricingServiceImpl" class="
com.gdservices.service.thirdparty.PricingServiceImpl">
<property name="daoFactory">
<ref bean="hibernateDAOFactory"/>
</property>
</bean>
<!-- SOAP -->
<jaxws:endpoint
id="pricingServiceSoap"
implementor="#PricingServiceImpl"
address="/pricingService" />
<!-- POX -->
<jaxws:endpoint
id="pricingServicePox"
implementor="#PricingServiceImpl"
address="/pricingService.xml"
bindingUri="http://cxf.apache.org/bindings/xformat" />
<!-- REST -->
<jaxws:endpoint
id="pricingServiceRest"
implementor="#PricingServiceImpl"
address="/rest/pricingService"
bindingUri="http://cxf.apache.org/bindings/http">
<jaxws:serviceFactory>
<bean class="
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
<property name="wrapped" value="true" />
</bean>
</jaxws:serviceFactory>
</jaxws:endpoint>