While rendering consumed webservices content unable to persist utf-8 characters(I referred http://www.ardentex.com/publications/ch ... s-java.pdf
) . This is my first experience working with web services. Let me explain my scenario.
Issue : Unable to persist few characters as it is on web page. Eg: right single quotation mark ( ’ ) displaying as (?).
I am working on following development environment.
Browser ---> Request sent to ---> Webservices---> requested webservice impl class fetch the data(here some business stuff goes) from postgres database adds the content to Response object. From response browser shows the content.
For testing I am using SoapUI. In SoapUI I am able to see exact content as XML document. But while transferring this data through network, the special characters of content modifying as some other characters as mentioned above.
Please find the attachment of SoapUI header part.
My question is should I change character set configurations in XML file(present it is UTF-8), or any configuration changes of Jboss should need to change. I expecting from you how to handle this situation in my application.
Let me know what happening while transferring the data among layers.
I ensured that web services data is being transferred in UTF-8.
Ensured that my PostgreSQL database instance is using a UTF-8 encoding
Expecting quick help from you.