cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From semecxf <>
Subject Custom Provider not being invoked
Date Mon, 04 Jun 2012 15:13:06 GMT
I am trying to send as json, but I am getting
JAXRSOutInterceptor            WARN  No message body writer has been found
for response class Subject.
I added a provider so that I could create my json but my provider is not
being called?

I follow sample code in this doc
( to implement my provider.
Any idea?

Here is my spring xml sample

 <bean id="isProvider" class="com.SubjectProvider"/>
    <bean id="jsonProvider"
        <property name="ignoreNamespaces" value="true" /> 
     <jaxrs:server address="/subjectResource">
			<ref bean="subject" />
     	 <ref bean="isProvider" />
     	  <ref bean="jsonProvider" /> 

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message