users@glassfish.java.net

GF WS tester page UTF-8 exception

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Jun 2009 10:12:42 PDT

Hello,

I'm trying to test a webservice on GF tester page. With simple ASCII strings it works very well, but when I give parameters containig special (hungarian) letters it says:

Service invocation threw an exception with message : com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.; Refer to the server log for more details



And when the webservice returns back so special letters, it doesn't throw an exception, but these letters are displayed badly (2-character garbage, but I can see it's UTF-8)

In server log found nothing.

Thanx.
MB
[Message sent by forum member 'mbazs' (mbazs)]

http://forums.java.net/jive/thread.jspa?messageID=351882