I am talk between to jaxrs services in one tomcat and the happy path is
working as expected. Upon error I am getting back an InputStream (i.e.
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream) from
Response#getEntity() and originally before trying many different approaches
I was getting a marshaling issue (Marshalling Error: class
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream nor any of its
super class is known to this context) in the DataBindingProvider. Obviously
the error makes sense but I am not sure what I have missed or if I simply
should just catch the exception and the read the stream (which I am not
entirely sure what to do with it once I have read it).

Please let me know if some code will help explain the situation more.
-- 
View this message in context: 
http://old.nabble.com/JAXRSClientFactory-proxy-error-handling-tp28010855p28010855.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to