How to change the encoding in JBossWS-CXF endpoints ?

Solution Verified - Updated -

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)
    • 6.x
  • JBossWS_CXF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.