charset problem
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:
<Data><anlEventId>10</anlEventId><anlApplication>abc</anlApplication>/Data>
xmlString at the RESTService.
%3CData%3E%3CanlEventId%3E10%3C%2FanlEventId%3E%3CanlApplication%3Eabc%3C%2FanlApplication%3E%3C%2FData%3E
Server: Tomcat 6.0
Platform: Java
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.
Thanks
Srini



