Hi, I'm not really a Spring-wizard, so I'm having some trouble getting the CXFServlet configured as I wish...
The following properties work to have the Service responding: ---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-2.0.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <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" /> <jaxws:endpoint id="AuthService" implementor="test.AcegiAuthService" address="/AuthService" /> </beans> ---8<--- Now I want to have the service use AegisDatabinding, but I don't get it working... Could someone provide me with a hint - the following approach which Willem posted (on my marshalling exception) only leads to an unresponsive service, so the above is the only working version I have right now: ---8<--- <bean id="AegisDatabinding" class="org.apache.cxf.aegis.databinding.AegisDatabinding"/> <bean id="JaxWsServiceFactoryBean" class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"> <property name="wrapped" value="false"/> <property name="dataBinding" ref="AegisDatabinding"/> </bean> <bean id="authServiceFactory" class="org.apache.cxf.jaxws.JaxWsServerFactoryBean" init-method="create"> <property name="serviceClass" value="test.AcegiAuthService" /> <property name="serviceBean"> <bean class="test.AcegiAuthService"/> </property> <property name="address" value="/AuthService"/> <property name="bus" ref="cxf"/> <property name="serviceFactory" ref="JaxWsServiceFactoryBean"/> </bean> ---8<--- Best regards, --- Jan.
