users@saaj.java.net

In JWSDP 1.1 (WebLogic 8.1.4), can MessageFactory.createMessage() deal with UTF-8 properly?

From: Karr, David <david.karr_at_wamu.net>
Date: Thu, 11 Jan 2007 12:56:36 -0800

I have a tool which I've been using for quite a while for sending and
testing SOAP messages. It's just a Java class, and I execute it from a
command-line script. It works fine, but I've now run into a situation
where I need to send some non-ascii characters in the message. I've
defined the encoding in the message as UTF-8. I create a
FileInputStream for the file, and pass that to
"MessageFactory.createMessage()". From what I'm seeing, it appears that
it's not honoring the character encoding of the message. When I read the
message at the other end, the non-ascii characters are truncated or
corrupted.

I'm using a pretty old version of JWSDP, the one integrated into
WebLogic 8.1.4, which is about version 1.1 of JWSDP.