Cheers, i had read that but it doesn't seem to solve the problem.
Firstly if i tried to escape a character using '\' eg (\"), all i get in the ws function is the '\'. secondly the hash isn't listed as a special character and '\#' doesn't work as described previously.
I couldn't find any reference to the soap decoding in the glassfish source to see what is going on either..
[Message sent by forum member 'jsl123' (jsl123)]
http://forums.java.net/jive/thread.jspa?messageID=205827