title: CXF - com.ctc.wstx.exc.WstxUnexpectedCharException: Illegal character ((CTRL-CHAR, code 5))
body: <p>I found on internet that problem is that soap request contain unicode char for ,,ctrl + v", which is illegal character in Xml. I dont know how this get into String, but I want simple to remove it on server side.</p>
  
  <p>Can plase someone give me the point how to solve this issue?
  I found this snippet : </p>
  
  <pre><code>  XMLOutputFactory f = new WstxOutputFactory();
    f.setProperty(WstxOutputProperties.P_OUTPUT_INVALID_CHAR_HANDLER,
      new InvalidCharHandler.ReplacingHandler(' '));
    XMLStreamWriter sw = f.createXMLStreamWriter(...);
  </code></pre>
  
  <p>Can someone tell me how to configure Spring for construction of WstxOutputFactory with this handler? - <strong>InvalidCharHandler.ReplacingHandler(' ')</strong>. Thanks for advice.</p>