synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evanthika Amarasiri (JIRA)" <>
Subject [jira] Created: (SYNAPSE-670) Messages with UTF-16 encoding fails on Synapse
Date Thu, 15 Jul 2010 11:11:53 GMT
Messages with UTF-16 encoding fails on Synapse

                 Key: SYNAPSE-670
             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 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

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