The interceptors are a poor place to fix this issue. You should fix your database interface. Are you sure you're using the right encoding with JDBC, or whatever? Are you reading from the database into byte[] containers or String/char containers?
On Fri, Jun 20, 2008 at 6:39 AM, splatch <[EMAIL PROTECTED]> wrote: > > Hello dear CXF users and developers. :) > > I have problem with CXF based web service. That isn't library issue but i > need help to resolve it. Web service implementation rads some data from > database, map it to objects and return. There is problem because readed > data > contains 0x0 characters and bad encoding (Mazovia). I would like to convert > bad characters/bytes using interceptors but i don't know what Phase would > be > correct (MARSHAL, POST_MARSHAL?) and i don't know how to replace/modify CXF > generated content. > > Is there any ideas? I would like to use stream and bytes because it will be > much faster than Reflection. > > Regars, > Luke > -- > View this message in context: > http://www.nabble.com/CXF-output-stream-modification-tp18026498p18026498.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
