Did you ever find a solution to this? I am seeing that my Jaxb2
annotations appear to be ignored and I suspect it is due to faulty
configuration.

On 6/11/07, Durgaprasad Rao <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am thinking of using JAXB2 binding instead of aegis binding for my
> service.  I am using annotation factory and spring configuration as shown in
> snippet below. I don't see the JAXB2 binding provider in the xfire.xml file.
>  I want to know how as to how can I configure JAXB2 binding with annotation
> factory.   Could someone help me with this?
>
> ----------------------------------------------------------------------------------------------------------
>
>  <bean name="/Order"
>   class="org.codehaus.xfire.spring.remoting.XFireExporter">
>   <property name="serviceBean" ref="orderService" />
>   <property name="serviceClass">
>    <value>com.test.OrderQueryService</value>
>   </property>
>   <property name="serviceFactory">
>    <ref bean="xfire.annotationServiceFactory" />
>   </property>
>  </bean>
>
>  <bean id="xfire.annotationServiceFactory"
>
> class="org.codehaus.xfire.annotations.AnnotationServiceFactory">
>   <constructor-arg index="0" ref="webAnnotations" />
>   <constructor-arg index="1" ref="xfire.transportManager" />
>   <constructor-arg index="2" ref="xfire.aegisBindingProvider" />
>  </bean>
>
>  <bean id="webAnnotations"
>
> class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations"
> />
>
>  <import
> resource="classpath:org/codehaus/xfire/spring/xfire.xml"
> />
>
>
> -----------------------------------------------------------------------------------------------------------
>
> Thanks,
> Durga
>
>  ________________________________
> Looking for a deal? Find great prices on flights and hotels with Yahoo!
> FareChase.
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to