You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Sergey Beryozkin <sb...@progress.com> on 2009/06/16 17:39:15 UTC

Extension mappings (Re: Combining jax-rs @Context and Spring @Transactional annotations)

Hi,
>> >
>> >   <jaxrs:server id="transport" address="/">
>> >     <jaxrs:serviceBeans>
>> >       <ref bean="myServiceBean" />
>> >       ....
>> >     </jaxrs:serviceBeans>
>> >     <jaxrs:extensionMappings>
>> >       <entry key="xml" value="application/xml" />
>> >       <entry key="json" value="application/json" />
>> >     </jaxrs:extensionMappings>
>> >   </jaxrs:server>
>> >

Just FYI, those extensionMappings values are supported by default...

cheers, Sergey

RE: Extension mappings (Re: Combining jax-rs @Context and Spring @Transactional annotations)

Posted by Jecis Ilgvars <Il...@itella.com>.
Thanks, good to know


-----Original Message-----
From: Sergey Beryozkin [mailto:sberyozk@progress.com]
Sent: Tue 2009.06.16. 18:39
To: users@cxf.apache.org
Cc: Jecis Ilgvars
Subject: Extension mappings (Re: Combining jax-rs @Context and Spring @Transactional annotations)
 
Hi,
>> >
>> >   <jaxrs:server id="transport" address="/">
>> >     <jaxrs:serviceBeans>
>> >       <ref bean="myServiceBean" />
>> >       ....
>> >     </jaxrs:serviceBeans>
>> >     <jaxrs:extensionMappings>
>> >       <entry key="xml" value="application/xml" />
>> >       <entry key="json" value="application/json" />
>> >     </jaxrs:extensionMappings>
>> >   </jaxrs:server>
>> >

Just FYI, those extensionMappings values are supported by default...

cheers, Sergey