This is what I see in the RAW response :: HTTP/1.1 200 OK Connection: close Date: Fri, 24 Jul 2009 15:47:57 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private, max-age=0 Content-Type: text/xml; charset=utf-8 Content-Length: 22201
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <getKATAnalysisResponse xmlns="http://appstaging.thesearchagency.com/KATServices/"> <getKATAnalysisResult> <exactMatchAnalysis> <aggregateAnalysis> <rootKeyword>turÃstica bat</rootKeyword> <keywordAnalysis> <individualKeywordAnalysis> <rootKeyword>turÃstica bat</rootKeyword> <keyword>turÃstica bat</keyword> . . . </individualKeywordAnalysis> </getKATAnalysisResult> </getKATAnalysisResponse> </soap:Body> </soap:Envelope> Could this be a databinding issue? Thanks for your help, Kyle bimargulies wrote: > > Look at the XML and see if it has a charset specified in the message. > > On Fri, Jul 24, 2009 at 2:03 PM, Kyle.Bober<[email protected]> wrote: >> >> I have consumed a WSDL from a .NET hosted service via Apache CXF 2.2.2. >> Sadly >> to my dismay when ever we receive a response from the service and it >> marshals the data into a string it doesn't convert the UTF-8 encoded >> characters properly. >> >> Such is an example. >> We make a request with an xml element containing the string value : >> turística >> We receive the raw response with the following string value: turÃstica >> and the following xml string value : turística >> >> But when the response data is marshaled in the code the java string's >> value >> is set to the follwoing : turÃstica >> >> Why is this happening and how can I enforce the UTF-8 CharacterSet??? >> >> Any help regarding this would be much appreciated! >> >> -Kyle >> -- >> View this message in context: >> http://www.nabble.com/UTF-8-Data-Marshalling-issue-tp24649219p24649219.html >> Sent from the cxf-user mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/UTF-8-Data-Marshalling-issue-tp24649219p24651346.html Sent from the cxf-user mailing list archive at Nabble.com.
