How to change the encoding in Apache CXF / JBossWS-CXF endpoints ?
Issue
- In CXF log we see some requests with ISO-8859-1 encoding but some others are UTF8. If the request is ISO encoded then EAP give a response back in ISO encoding too. If the request is UTF8, the response is also UTF8.
- Is there any way to force EAP to use UTF8 as response encoding type ?
- Is there any way we can change the encoding for the CXF soap response message ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
- 6.x
- JBossWS_CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.