Hi Sergey,
this test project is generated by maven using the only
"cxf-rt-frontend-jaxrs" dependency which apparently does not imply use of
cglib. Adding lib solved my issue... and just to make excuse ;) I neither
noticed that I am missing CGLIB nor exception message suggested this
(message like "X is not interface; for proxying classes make sure CGLIB is
on classpath" would be perfect).

After that I was still experiencing WebApplicationException with "406 not
acceptable" and log message like this: "No operation matching request path
/foo is found, ContentType : */*, Accept : application/xml". After adding
'wc.accept("text/xml")' to webclient add used three-params version of
'fromClient()' with 'inherit param from client' set to true, I finally
passed test... 

Good to know stuff is working fine ;) thanks for your support.

cheers,
andy.

-- 
View this message in context: 
http://www.nabble.com/WebClient-fails-to-unmarshall-tp25337879p25383574.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to