• Post Reply Bookmark Topic Watch Topic
  • New Topic

XML Decoder behavior  RSS feed

ajay solanki
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have one VO in which I have one String property as Id and other is boolean. I encode this VO at server side using Java's XML Encoder and client side I decode it in same type using Java's XML decoder. The id field has a Character string which is case sensitive, so it will be always lower case, but at client side it will be decided by other boolean property of VO whether it should be lower or upper. So my problem is, when it decodes at client side it always set string property first and then boolean property from the XML from server. So no matter what it is always false and it is always lower case. So is there any way where I can set the order of properties to being set.

Thanks in Advance.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!