You need to be a lot more specific than "but not all of my annotations
are respected".


On 3/13/07, Honorez Dylan <[EMAIL PROTECTED]> wrote:




Hi,



I am developing a webservice using XFire, Spring and JAXB bindings. I'm
using code-first approach, and I want to see how far I can push
customization of my WSDL with this.



Since I am not sure I am wiring everything like I should, let me start with
posting my XFire/Spring/JAXB configuration:



<!—XFIRE STUFF à

<import
resource="classpath:org/codehaus/xfire/spring/xfire.xml"
/>



<bean id="jaxbTypeMappingRegistry"
class="org.codehaus.xfire.jaxb2.JaxbTypeRegistry"
init-method="createDefaultMappings"/>



<bean id="webAnnotations"
class="org.codehaus.xfire.annotations.jsr181.Jsr181WebAnnotations"/>



<bean id="handlerMapping"
class="org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping">

<property name="typeMappingRegistry">

           <ref bean="jaxbTypeMappingRegistry"/>

       </property>

       <property name="xfire">

           <ref bean="xfire"/>

       </property>

       <property name="webAnnotations">

           <ref bean="webAnnotations"/>

       </property>

</bean>



<bean
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">

       <property name="urlMap">

           <map>

               <entry key="/services/SearchService">

                   <ref bean="searchService"/>

               </entry>

           </map>

       </property>

</bean>



<!—MY SERVICE STUFF à

<bean id="genericServiceBean"
class="org.codehaus.xfire.spring.ServiceBean"
abstract="true">

      <property name="serviceFactory" ref="jaxbServiceFactory" />

</bean>



<bean id="searchService" parent="genericServiceBean">

      <property name="serviceBean" ref="searchServiceImpl" />

</bean>



<bean name="jaxbServiceFactory"
class="org.codehaus.xfire.jaxb2.JaxbServiceFactory">

      <constructor-arg ref="xfire.transportManager" />

</bean>





Fact is, the service works, but not all of my annotations are respected.
That's why I wonder if I wired everything correctly. So can anyone confirm?



Dylan Honorez
 R & D Consultant
 4C Technologies / kZen
 +32 (0)485 / 69.28.12
 [EMAIL PROTECTED]



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

   http://xircles.codehaus.org/manage_email

Reply via email to