In our application, we have a need to access the data that came through our web service as both Java objects and their underlying XML representation. We're employing literal use, so my first reaction is that if I could access the soap body directly, I could simply grab the XML from there.
My question is two-fold: - Is it possible to access the body directly? - Should I? I'm not sure this is the best approach, however it feels better than marshalling the object back into XML. If anyone can offer a better approach, as well as why my current idea isn't the best solution, I'd be most appreciative. Thanks, - Jay
