Thank you for the detailed response! How does that translate to a servlet based transport mechanism?
Regards, Kaleb |------------> | From: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Freeman Fang <[EMAIL PROTECTED]> | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | To: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |cxf-user@incubator.apache.org | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Date: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |08/21/2007 11:31 PM | >--------------------------------------------------------------------------------------------------------------------------------------------------| |------------> | Subject: | |------------> >--------------------------------------------------------------------------------------------------------------------------------------------------| |Re: Aegis Data Binding w/Spring | >--------------------------------------------------------------------------------------------------------------------------------------------------| Hi Kaleb, For server side, if you are using jax-ws frontend, you should use sth like <jaxws:server address="/jaxwsAndAegis" serviceClass="org.apache.cxf.authservice.AuthService"> <jaxws:dataBinding> <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" /> </jaxws:dataBinding> <jaxws:serviceBean> <bean class="org.apache.cxf.authservice.AuthServiceImpl" /> </jaxws:serviceBean> </jaxws:server> If you are using simple frontend, you should use sth like <simple:server address="/service" serviceClass="org.apache.cxf.authservice.AuthService"> <simple:dataBinding> <bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" /> </simple:dataBinding> <simple:serviceBean> <bean class="org.apache.cxf.authservice.AuthServiceImpl" /> </simple:serviceBean> </simple:server> For client side, if you are using jax-ws frontend, you should use sth like <bean id="aegisDatabinding" class="org.apache.cxf.aegis.databinding.AegisDatabinding"/> <bean id="client" class="org.apache.cxf.authservice.AuthService" factory-bean="clientFactory" factory-method="create"/> <bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"> <property name="serviceClass" value="org.apache.cxf.authservice.AuthService"/> <property name="address" value="http://localhost:9002/jaxwsAndAegis"/> <property name="dataBinding" ref="aegisDatabinding"/> </bean> If you are uisng simple frontend, you should use sth like <bean id="aegisDatabinding" class="org.apache.cxf.aegis.databinding.AegisDatabinding"/> <bean id="client" class="org.apache.cxf.authservice.AuthService" factory-bean="clientFactory" factory-method="create"/> <bean id="clientFactory" class="org.apache.cxf.frontend.ClientProxyFactoryBean"> <property name="serviceClass" value="org.apache.cxf.authservice.AuthService"/> <property name="address" value="http://localhost:9002/service"/> <property name="dataBinding" ref="aegisDatabinding"/> </bean> Best Regards Freeman Kaleb Walton wrote: > Anyone have a sample Spring configuration that shows how to set up Aegis > Data Binding for both server and client beans? I'm trying to get Scripted > Beans to work as the Service Implementors and am concerned that the > annotations are why they don't work with JAX. Thanks! > > Regards, > Kaleb Walton >