Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in parsing restlet response xml

 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have created RESTlet service. But when I try to parse response it shows following exception

I am creating xml response using com.thoughtworks.xstream.XStream.toXml()

So How should I ensure that all the content of response xml cantains only UTF-8 characters ?

Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic