3 Replies Latest reply on Feb 28, 2011 10:33 AM by Claus Ibsen

    JAX-WS String return types

    Robert Kozura Newbie

      Hello everyone.  I have a simple JAX-WS web service:



      public class SimpleSOAPImpl implements SimpleSOAP


           public String getMessage() {

                   return "<";




      When invoked, this will always return "&lt;".


      This is an escaped special character "<".  The String "<" changes to "&lt;" when it reaches the client as a SOAP response.


      Is there an easy fix for this?