How to get and set dynamic or runtime input in XStream
Posted
by
RSR
on Stack Overflow
See other posts from Stack Overflow
or by RSR
Published on 2011-02-14T07:22:16Z
Indexed on
2011/02/14
7:25 UTC
Read the original article
Hit count: 157
java
|web-services
i am getting xml tags as input in java web services. i need that to parsed to java objects i had tried everything like XStream,XMLEncoder, JaxB Concepts also. But I don't know what is the problem. i am having pojo class for that input but it is not working. example for xml tags : 1034|Chromepet|Chennai|117.97.24.32 first to extract data : i need only data from .... and then Using Xstream or XmlEncoder i have to parse it like i want only devsrlno:101 signalstrength : 30 devicedatetime:01/24/2010 10:10:23 AM gprsdatetime:01/24/2010 10:10:23 AM debug:yes autoip :1034|Chromepet|Chennai|117.97.24.32. please tell me how to do it
© Stack Overflow or respective owner