Author: li.liang
Date: 2009-03-31 13:50:22 -0400 (Tue, 31 Mar 2009)
New Revision: 671
Modified:
trunk/soap/src/main/java/com/metamatrix/soap/service/DataServiceWebServiceImpl.java
Log:
case TEIID 447 - Use UTF-8 to encode XML document.
Modified:
trunk/soap/src/main/java/com/metamatrix/soap/service/DataServiceWebServiceImpl.java
===================================================================
---
trunk/soap/src/main/java/com/metamatrix/soap/service/DataServiceWebServiceImpl.java 2009-03-31
15:48:32 UTC (rev 670)
+++
trunk/soap/src/main/java/com/metamatrix/soap/service/DataServiceWebServiceImpl.java 2009-03-31
17:50:22 UTC (rev 671)
@@ -390,7 +390,7 @@
StAXOMBuilder builder = null;
try {
builder = new StAXOMBuilder(ByteArrayHelper.toInputStream(result
- .getBytes()));
+ .getBytes("UTF-8")));//$NON-NLS-1$
} catch (XMLStreamException e) {
Object[] params1 = new Object[] { result };
Object[] params2 = new Object[] { e.getMessage() };
Show replies by date