For the same service i'm trying to access from java through org.apache.commons.httpclient.
I'm successful in hitting the service and sending the xmlString to the service. But at the service level xmlString is corrupted. All the <, > and / symbols are transformed in to equivalent %3C, %3E etc.....
xmlString at the httpclient:
xmlString at the RESTService.
Server: Tomcat 6.0
Services: RESTful Web services using jersey(NetBeans plugin for jersey)
at the client level i've checked the charset of the request and response(using post.getResponseCharSet() & post. getRequestCharSet()). In both cases it is iso-8859-1. Still it creating problem.
Please let me know is there any solution.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!