You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Seekins <da...@dmseekins.u-net.com> on 2007/07/06 12:32:32 UTC
How can I configure AXIS so that it does not ignore whitespace
in element values?
I'm using an AXIS client to access a .NET web service and am having
problems with what appears to be the automatic ignoring of whitespace.
For example when the content of a MessageElement containing text like
<TEXT> Value</TEXT> is accessed the leading space is not returned.
Is there anyway to access the full content of the element or to configure
AXIS so that such whitespace values are always returned in the element values?
The only method I've been able to find is getAsString(). But there are two
problems with this: 1) A note in the JavaDoc states that it is an
inefficient method. 2) Character entities are not parsed.
Thanks for you help.
David
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org