ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4702) JAXWS: Calling a web serivce with different character encodings causes errors
Date Tue, 04 May 2010 18:59:57 GMT
JAXWS: Calling a web serivce with different character encodings causes errors
-----------------------------------------------------------------------------

                 Key: AXIS2-4702
                 URL: https://issues.apache.org/jira/browse/AXIS2-4702
             Project: Axis2
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


Background:
A JAX-WS web service should send a response that has the same character encoding as the request
message.

Problem:
A JAX-WS web service that uses JAXB as a payload will fail in the following scenario:
     1) Client sends a UTF-8 message.  Service responds with a UTF-8 message.
     2) Client sends a UTF-16 message.  Service responds with a UTF-16 message.
     3) Client sends a UTF-8 message.  Service responds with a UTF-8 message...but the data
is encoded as UTF-16...This causes a failure.

Solution:
    The JAXB Marshaller in the JAX-WS runtime is not being reset correctly.  This leads to
a bad message.

     I am fixing the code and providing a small unit test that demonstrates the problem

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message