On 28/08/12 18:22, mayankeagle wrote:
Thanks. I wrote a custom class OOBResponseProvider which basically has the
same code that yours has, and modified the beans.xml file as:

<bean id="dispatchProvider" class="mypackage.testing.OOBResponseProvider"/>

      <jaxrs:server id="servername" address="/">
         <jaxrs:serviceBeans>
        <ref bean="webServiceBean"/>
                <ref bean="requestTokenService"/>
                <ref bean="accessTokenService"/>
                <ref bean="authorizationService"/>
         </jaxrs:serviceBeans>
         <jaxrs:providers>
                <ref bean = "dispatchProvider" />
         </jaxrs:providers>
      </jaxrs:server>

It still doesn't recognize the provider though. Am I missing something else
required to configure it?

Please make sure 'Accept' is set accordingly

Sergey



--
View this message in context: 
http://cxf.547215.n5.nabble.com/OAuth-1-0-in-CXF-2-6-2-tp5713150p5713234.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to