synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heshan Suriyaarachchi (JIRA)" <>
Subject [jira] Commented: (SYNAPSE-670) Messages with UTF-16 encoding fails on Synapse
Date Tue, 20 Jul 2010 06:08:49 GMT


Heshan Suriyaarachchi commented on SYNAPSE-670:

    I tested the above issue on a  build from the Synapse trunk. I created a client which
sends a UTF- 16 message to the endpoint. Then executed the client and sent the message to
the endpoint. The message does not fail and correct response is given at the client. Therefore
this issue does not exist in the Synapse trunk anymore. 


> Messages with UTF-16 encoding fails on Synapse
> ----------------------------------------------
>                 Key: SYNAPSE-670
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2
>         Environment: Ubuntu9.04, Sun jdk1.5.0_18
>            Reporter: Evanthika Amarasiri
>            Priority: Critical
> When sending UTF-16 messages Synapse sets the encoding to UTF-8. 
> 2010-07-15 16:39:48,402 [] [HttpServerWorker-1]  INFO LogMediator
To: /, WSAction: urn:getQuote, SOAPAction: urn:getQuote, MessageID: urn:uuid:3C7A99D355437431851279192188324,
Direction: request, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> Then messages fails with the following exception
> 2010-07-15 16:39:48,657 [] [HttpClientWorker-1] ERROR ClientWorker
Fault creating response SOAP envelope
> org.apache.axis2.AxisFault: Character Set Encoding from transport information [UTF-8]
does not match with character set encoding in the received SOAP message [UTF-16]
> 	at org.apache.axis2.builder.BuilderUtil.validateCharSetEncoding(
> 	at org.apache.axis2.builder.SOAPBuilder.processDocument(
> 	at org.apache.axis2.transport.TransportUtils.createDocumentElement(
> 	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(
> 	at
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at

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:
For additional commands, e-mail:

View raw message