[jboss-user] [JBossWS] - Re: jbossws 1.0.1GA sample not working
heiko.braun@jboss.com
do-not-reply at jboss.com
Fri Jul 14 06:13:48 EDT 2006
The com.ibm.wsdl.xml.WSDLWriterImpl maps Java encodings to xml encodings:
| static
| {
| xmlEncodingMap.put(null, Constants.XML_DECL_DEFAULT);
| xmlEncodingMap.put(System.getProperty("file.encoding"),
| Constants.XML_DECL_DEFAULT);
| xmlEncodingMap.put("UTF8", "UTF-8");
| xmlEncodingMap.put("UTF-16", "UTF-16");
| xmlEncodingMap.put("UnicodeBig", "UTF-16");
| xmlEncodingMap.put("UnicodeLittle", "UTF-16");
| xmlEncodingMap.put("ASCII", "US-ASCII");
| xmlEncodingMap.put("ISO8859_1", "ISO-8859-1");
| xmlEncodingMap.put("ISO8859_2", "ISO-8859-2");
| xmlEncodingMap.put("ISO8859_3", "ISO-8859-3");
| xmlEncodingMap.put("ISO8859_4", "ISO-8859-4");
| xmlEncodingMap.put("ISO8859_5", "ISO-8859-5");
| xmlEncodingMap.put("ISO8859_6", "ISO-8859-6");
| xmlEncodingMap.put("ISO8859_7", "ISO-8859-7");
| xmlEncodingMap.put("ISO8859_8", "ISO-8859-8");
| xmlEncodingMap.put("ISO8859_9", "ISO-8859-9");
| xmlEncodingMap.put("ISO8859_13", "ISO-8859-13");
| xmlEncodingMap.put("ISO8859_15_FDIS", "ISO-8859-15");
| xmlEncodingMap.put("GBK", "GBK");
| xmlEncodingMap.put("Big5", "Big5");
| }
|
For some reason unknown to me, it maps 'ISO8859_15_FDIS' but not 'ISO8859_15'. So i'd say either you go ahead and fix wsd4l, or you use ISO8859_15_FDIS as your system file encoding.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958024#3958024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958024
More information about the jboss-user
mailing list