You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2010/05/21 03:30:18 UTC

[jira] Updated: (AXIS2-4702) JAXWS: Calling a web serivce with different character encodings causes errors

     [ https://issues.apache.org/jira/browse/AXIS2-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle updated AXIS2-4702:
----------------------------------

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


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

  was:
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


> 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
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Background:
> A JAX-WS web service should send a response that has the same character encoding as the request message.
> 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