Axis2 uses StAX to serialize XML, and the default StAX implementation
shipped with Axis2 is Woodstox. You will have to check in the
documentation of Woodstox if it is possible to configure this
behavior, or alternatively find another StAX implementation that
supports this.

Andreas

On Thu, Aug 13, 2009 at 06:09, twosnac<[email protected]> wrote:
>
> Hi, I'm using wsdl2java to implement a service.  One of my elements in my
> response object is an xs:string.  When the xml is produced from the service
> as a response, the '>' characters are as is.  An example would be:
> <ns1:textAnswer>&lt;go> 1 &lt;go></ns1:textAnswer>
>
> This was valid xml apparently (learn something new everyday) and makes sense
> because there's less text in the payload.  But, the client libraries that
> I'm using are proprietary and choke hard on this.  I cannot change the
> client libraries, how can I change the serialization of this object to
> escape '>' characters?
>
> --
> View this message in context: 
> http://www.nabble.com/Greater-than%27s-not-being-escaped-in-content-of-element-in-response-tp24948530p24948530.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>

Reply via email to