Well, annotations aren't respected as in:
- package-info.java: package-level service annotations aren't used 
(attributeformDefault etc.)
- self-defined returntypes aren't showing in the generated schema
- propOrder isn't used
- ...

What I concluded after some testing was this:
If I leave out the genericServiceBean and the JaxbServiceFactory out of my 
configuration, the wsdl result is the same, so I suspect there's still 
something wrong in the configuration.

Secondly, I have a question about Maps and generics. If I use generics to type 
a Map, is there a way XFire will pick up these types and include them in my 
schema? 

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

-----Original Message-----
From: Zarar Siddiqi [mailto:[EMAIL PROTECTED] 
Sent: woensdag 14 maart 2007 6:04
To: [email protected]
Subject: Re: [xfire-user] FW: XFire-Spring-JAXB - numerous difficulties

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


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

    http://xircles.codehaus.org/manage_email

Reply via email to