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

Guillaume Nodet resolved SM-1362.
---------------------------------

         Assignee: Guillaume Nodet
    Fix Version/s: 3.3
       Resolution: Fixed

Sending        
servicemix-soap/src/main/java/org/apache/servicemix/soap/marshalers/SoapWriter.java
Transmitting file data .
Committed revision 691648.

Sending        src/main/java/org/apache/servicemix/jms/DefaultJmsMarshaler.java
Sending        src/main/java/org/apache/servicemix/jms/JmsMarshaler.java
Sending        src/test/java/org/apache/servicemix/jms/JmsMarshalerTest.java
Adding         src/test/resources/org/apache/servicemix/jms/charsettest.xml
Transmitting file data ....
Committed revision 691649.

> Encoding problem ... creating JMS TextMessage from SoapMessage
> --------------------------------------------------------------
>
>                 Key: SM-1362
>                 URL: https://issues.apache.org/activemq/browse/SM-1362
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jms
>    Affects Versions: 3.2.1
>            Reporter: Michael Halmich
>            Assignee: Guillaume Nodet
>             Fix For: 3.3
>
>         Attachments: DefaultJmsMarshalerTest.java, SM-1362.patch, soap.xml
>
>
> In DefaultJmsMarshaler.toJMS(SoapMessage, Session) a TextMessage is created 
> and it's text is set with the return value of 
> ByteArrayOutputStream.toString() ... which uses the platform's default 
> character encoding (in my case Cp1252) ... this destroys german umlauts.
> When used with the right encoding (for example 
> ByteArrayOutputStream.toString(SourceTransformer.getDefaultCharset())) it 
> works.

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

Reply via email to