14 Replies Latest reply on Nov 13, 2017 6:29 AM by Matthew Bankert

    WF 10.1, how to not escape JAX-WS content

    Nicklas Karlsson Master



      I have a simple web service that returns a String containing a database-generated XML message. OOTB the JAX-WS implementation apparently escapes characters so that < becomes &lt; and so on. Is there any way of overriding this behavior? I've seen examples in Java SE where you created a JAXBContext, got the marshaller from there and added an implementation of a CharacterEscapeHandler into a certain property on the marshaller but what would be the integration point from a WS-annotated stateless EJB?


      Thanks in advance,