May 11th, 2011, 09:25 PM
Marshalling using XStream but seeing response as String with SI Web Services support
I have an app that uses SI's Web Services support to consume a web service. I first use XStream to marshall my request object into XML. That works fine. However, I'm not certain what the response XML will look like yet, so would like to view the response as a String first in order to build an object class that can then be used in unmarshalling later. Not sure how this would be done. Right now, since I don't have a class to unmarshall the XML to, I'm getting the error "com.thoughtworks.xstream.mapper.CannotResolveClas sException: loginResponse : loginResponse"