Hi
On 23/07/13 09:39, mayankeagle wrote:
I have working code written for CXF 2.6.2, which I'm now trying to run on
2.7.5. My client is a background service, hence the callback URL is oob. For
it to work on 2.6.2, I had written a custom OOBResponseWriter. Now in 2.7.5,
I'm getting this error:

WARNING: No message body writer has been found for response class
OAuthAuthorizationData.

Does this mean I need to write another Writer for OAuthAuthorizationData
types?

As far as I recall, OOBResponseWriter would only be optionally activated on the completion of the authorization process, where the runtime, instead of redirecting a user back to the client, returns OOBResponse.

The problem you see right now is happening earlier, at the moment when the user is about to be presented with the authorization challenge. How did you render OAuthAuthorizationData before, did you bind it to HTML (via the use of RequestDispatcherProvider) ?

Cheers, Sergey


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


Reply via email to