[ 
https://issues.apache.org/jira/browse/CXF-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766105#action_12766105
 ] 

Sergey Beryozkin commented on CXF-2475:
---------------------------------------

CXF JAXRS does not supportn back channels yet (AFAIK they're for handling 
things like WS-Addressing ?) but generally, if the service declares :

@Produces("text/xml;charset=blah")

then the response will contain ContentType=text/xml;charset=blah

so basically it is the server which dictates. 

I guess there could be some subtleties in SOAP-based processing. I'd propose 
for a patch be updated such that a Message property like BackChannelCharset is 
checked (or UseServletResponseCharset), if it's not present then the incoming 
request's charset is used otherwise the custom one/servlet response's is used 
instead

> 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.

Reply via email to