cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Idar Borlaug" <idar.borl...@gmail.com>
Subject Re: Missing encoding in CXF response
Date Tue, 02 Dec 2008 11:51:24 GMT
It might be a bug in mule, i am trying to figure that out.

Its the same with CXF 2.1.3.

2008/12/1 Daniel Kulp <dkulp@apache.org>:
>
> Any chance you can try with CXF 2.1.3?
>
> That said, I'm not sure how it's possible to get that response.    I'm pretty
> sure we always set a charset on the responses.   MIGHT be some sort of bug in
> Mule.    Are you using the CXF stuff built into Mule?   I know they have
> their own transports for various things so it's possible that it's a bug in
> their transport.
>
> Dan
>
>
>
>
> On Monday 01 December 2008 6:37:30 am Idar Borlaug wrote:
>> Hi
>>
>> I am trying to connect to my CXF webservice with .net. But it has
>> trouble parsing the response since it thinks its iso8859-1 but its
>> utf-8.
>> I am using CXF 2.1.2.
>>
>> Is there any way to tell CXF to send encoding headers with its
>> response? Would be nice if they added : <?xml version='1.0'
>> encoding='UTF-8'?> to the start of the message.
>>
>> HTTP/1.1 200 OK
>>
>>
>> Content-Type: text/xml
>>
>>
>> Date: Mon, 01 Dec 2008 11:20:38 CET
>>
>>
>> Server: Mule Core/2.1.1
>>
>>
>> Expires: Mon, 01 Dec 2008 11:20:38 CET
>>
>>
>> Transfer-Encoding: chunked
>>
>>
>> Connection: close
>>
>>
>>
>>
>>
>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>
>
>
> --
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog
>



-- 
Idar

Mime
View raw message