Hi , What about custom interceptor which can set the content type .. In certain esb scenario I had implemented for other version of cxf it worked for me.
Regards, Manoj -----Original Message----- From: Valerio Angelini [mailto:[email protected]] Sent: Monday, March 01, 2010 6:21 AM To: [email protected] Subject: Fine control of XML encoding Dear all, do anyone know how could be possible to control the encoding of the XML response for a jax-ws service? In particular I need these : - The response is now created without the XML prolog. How can I force its creation? - The response http header declares a content-encoding like "text/xml; charset=ISO-8859-1", but I would like to specify a "UTF-8" charset. I'm currently using cxf-2.2.4 and jax-ws with the @WebServiceProvider() interface. Thanks a lot in advance Valerio -- Valerio Angelini Institute of Methodologies for Environmental Analysis Italian National Research Council phone: +39 0574 602535 e-mail: [email protected]
