-
1. Re: Encoding Problem when calling webservice
ffang May 2, 2011 8:25 PM (in response to labo32_delaboe)Hi,
How about you add
also?
Freeman
-
2. Re: Encoding Problem when calling webservice
labo32_delaboe May 3, 2011 12:25 AM (in response to ffang)I got the same result after adding the mentioned configuration
M³nchen instead of München
K÷ln instead of Köln
-
3. Re: Encoding Problem when calling webservice
ffang May 3, 2011 12:35 AM (in response to labo32_delaboe)Hi,
How you input for the webservice? I mean I can't see the message input part from your camel router.
Freeman
-
4. Re: Encoding Problem when calling webservice
davsclaus May 3, 2011 2:07 AM (in response to labo32_delaboe)Can you try to set the charset according to the HTML standard
http://en.wikipedia.org/wiki/Character_encodings_in_HTML
-
5. Re: Encoding Problem when calling webservice
labo32_delaboe May 3, 2011 3:18 PM (in response to ffang)The input comes from a jms topic and a poll enrich component.
A log before the setHeader shows
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://msiggi.de/Sportsdata/Webservices">
<soapenv:Header/>
<soapenv:Body>
<web:GetTeamsByLeagueSaison>
<web:leagueShortcut>bl1</web:leagueShortcut>
<web:leagueSaison>2010</web:leagueSaison>
</web:GetTeamsByLeagueSaison>
</soapenv:Body>
</soapenv:Envelope>
which is exactly the sample request generated by soapUI and which is successful when it is executed via soapUI.
Webservice location:
-
6. Re: Encoding Problem when calling webservice
labo32_delaboe May 3, 2011 3:20 PM (in response to davsclaus)This setting shows no changes in the result
-
7. Re: Encoding Problem when calling webservice
labo32_delaboe May 3, 2011 4:04 PM (in response to labo32_delaboe)Aaargh...... it is only a known problem with the windows console
Add -Dfile.encoding=cp850 to the java opts for servicemix startscript
will fix the console output.
Or just ignore the windows bulls**t !
When the result is written to a file with
it shows the expected result.
Sorry.......