[
https://jira.jboss.org/browse/JBESB-2556?page=com.atlassian.jira.plugin.s...
]
Kevin Conner updated JBESB-2556:
--------------------------------
Fix Version/s: 4.9
Believe this is still relevant as the getBytes may not use the correct charset.
Character corruption using SOAPClient (SOAPUI)
----------------------------------------------
Key: JBESB-2556
URL:
https://jira.jboss.org/browse/JBESB-2556
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.5
Environment: any
Reporter: Theodore S
Fix For: 4.9
When using SOAPUI using International characters can lead to character corruption.
How to reproduce:
Send chinese characters in the WS request to a webservice endpoint using the SOAPUI
integration in JBossESB.
Fix:
In class org.jboss.soa.esb.actions.soap.SOAPClient change line 462:
post.setRequestEntity(new StringRequestEntity(request));
to
StringRequestEntity requestEntity = new
StringRequestEntity(request,"text/xml","UTF-8");
post.setRequestEntity(requestEntity);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira