hi jim,

> By default  CXF will use JaxWsServiceFactoryBean to construct
> JaxwsServerFactoryBean when it parse the <jaxws:endpoint/>  configuration .
> We do not have many tests for  JaxwsServiceFactoryBean working with
> AegisDatabinding .  I think the ReflectionServiceFactoryBean and
> AegisDatabinding
> is a good choice , I wrote the follow configuration sample for your
> reference :
> 
>   <bean id="serviceClass" class="org.apache.cxf.ImplClass"/>
>   <bean id="aegisDatabinding"
> class="org.apache.cxf.aegis.databinding.AegisDatabinding"/>
>   <bean id="serviceFactory"
> class="org.apache.cxf.service.factory.ReflectionServiceFactoryBean">
>     <property name="dataBinding" ref="aegisDatabinding"/>
>   </bean>
>   <bean id="serverBeanFactory"
> class="org.apache.cxf.frontend.ServerFactoryBean" init-method="create">
>           <property name="address" value="/aegis"/>
>           <property name="bindingId"
> value="http://schemas.xmlsoap.org/soap/"/>
>           <property name="serviceBean" ref="serviceClass"/>
>           <property name="serviceFactory" ref="serviceFactory"/>
>   </bean>
> 

will this work with jsr-181 annotations as well?

i give it a try.

best regards, --- jan.

Reply via email to