May 15th, 2009, 08:35 PM
XHTML as Web Service input
I am trying to achieve the following functionality using Spring Web Services:
A web service needs to be deployed which accepts XHTML stream as an input. This stream contains image data. The image content needs to be extracted and the data thus obtained needs to be passed on the subsequent classes to be saved in DB. My research shown that JDOM or XMLBeans can help in parsing the XHTML and then apply XPath to retrieve the required content. But is there any better way to achieve the functionality?
Please let me know your inputs on this as I am new to this.