cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Encoding response
Date Mon, 19 Mar 2012 19:45:05 GMT
Hi
On 16/03/12 17:18, momo_benj wrote:
> Hi,
>
> on my WS response i want to have the encoding ASCII in hex. Indeed, i want
> "&#xE9". For the moment I have "&#xe9" thanks to a post on your Website :
>
> 	Message message = PhaseInterceptorChain.getCurrentMessage();
>          message.put(Message.ENCODING, "ASCII");
>
> message.getExchange().put("org.apache.cxf.stax.force-start-document",
> Boolean.TRUE);
>
> It is almost what I want, but unfortunately just almost ...
>
> Do you have any idea for this please ?
>
Is it for JAX-WS ? You should probably register marshaller properties 
with the CXF Jaxb Binding for this to work

Cheers, Sergey
> Thank you in advance.
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Encoding-response-tp5571976p5571976.html
> Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message