[
https://issues.apache.org/jira/browse/CXF-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766194#action_12766194
]
Michael Allman commented on CXF-2475:
-------------------------------------
In light of your explanation, I agree that using setCharacterEncoding is not
the right way to go.
I will try the ctx.getMessageContext().put(Message.ENCODING, "UTF-8") approach,
but I don't know when I will be able to. I should be able to try it tonight at
the latest. If that works, it sounds like the cleanest solution.
Also, I agree it makes more sense that character encoding be set on a
per-operation basis.
Thanks.
> When writing XML response, CXF uses request encoding instead of response
> encoding
> ---------------------------------------------------------------------------------
>
> Key: CXF-2475
> URL: https://issues.apache.org/jira/browse/CXF-2475
> Project: CXF
> Issue Type: Bug
> Components: Transports
> Affects Versions: 2.2.4, 2.2.5
> Reporter: Michael Allman
> Priority: Minor
> Attachments: AbstractHTTPDestination.patch
>
>
> When writing the SOAP XML response, CXF uses the ServletRequest encoding
> instead of the ServletResponse encoding.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.