Hi
On 26/03/13 08:17, godfather_599 wrote:
Hi, I am facing a similar problem now. Is this resolved yet?

I have something like this in my cxf.xml file:

<jaxrs:server id="class" address="/address">
         <jaxrs:serviceBeans>
             <ref bean="Service" />
         </jaxrs:serviceBeans>

         <jaxrs:providers>
          <ref bean="wadlGenerator" />
         <bean id="jsonProvider"
class="org.apache.cxf.jaxrs.provider.JSONProvider" />
         </jaxrs:providers>

     </jaxrs:server>



<bean id="wadlGenerator" class="com.abc.efg.util.WadlGeneratorExtended">

                   </bean>


but, apache ignores this class.. I am not seeing any changes :(

I've confirmed it works, for example, in this bean,

http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs/WEB-INF/beans.xml

removing a WadlGenerator bean reference fails one of JAXRSClientServerSpringBookTest. Does your class extend WadlGenerator ? If yes - can you please try the latest released CXF version (ex, if you work with say CXF 2.5.2 - try 2.5.9, etc)

Cheers, Sergey



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Replacing-the-WadlGenerator-doesn-t-work-tp4713363p5725229.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to