If it worked for you in 2.0, it worked purely by accident, I think.
However, I am a bit confused as follows. Reusing the entire service
factory for multiple endpoints had never worked, period. That doesn't
necessarily imply that a databinding couldn't be used in multiple
service factories. However, the data binding does look at the service
to find the root elements. They could conflict, so it doesn't make
sense to me to share them. Anyone else (Dan?) care to express an
opinion?

On Thu, Mar 5, 2009 at 2:51 PM, relphie <[email protected]> wrote:
>
> Hello,
>
> There appears to be an inconsistency in the ability to reuse an Aegis
> Databinding across multiple services.  In cxf 2.0, it was possible, but in
> the latest 2.2-SNAPSHOT it is not.  Can anyone explain this, and whether it
> is intended?
>
> Here is a sample the configuration that works in 2.0 but not in
> 2.2-SNAPSHOT:
>
>        <bean id="aegisBean"
> class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
>
>    <jaxws:endpoint id="RelationshipService" implementor="#ReltnService"
>        implementorClass="relationship.service.RelationshipService"
> address="/RelationshipService">
>        <jaxws:serviceFactory>
>                        <bean 
> class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
>                                <property name="dataBinding" ref="aegisBean" />
>                        </bean>
>        </jaxws:serviceFactory>
>    </jaxws:endpoint>
>
>   <alias name="relationship.service.RelationshipService"
> alias="ReltnService" />
>
>    <jaxws:endpoint id="OrganizationService" implementor="#OrgService"
>        implementorClass="organization.service.OrganizationService"
> address="/OrganizationService">
>        <jaxws:serviceFactory>
>            <bean
> class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
>                                <property name="dataBinding" ref="aegisBean" />
>                        </bean>
>        </jaxws:serviceFactory>
>    </jaxws:endpoint>
>
>        <alias name="organization.service.OrganizationService" 
> alias="OrgService"
> />
>
>
> Thanks,
>
> Brian
> --
> View this message in context: 
> http://www.nabble.com/Aegis-Databinding-Re-use-tp22359219p22359219.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to