In my ongoing saga of explaining the Java web service world to an involuntary convert from Microsoft, I find myself faced with another question.
In Aegis, you can just use org.w3c.dom.Document as a method return type or parameter or property, and good things happen. (Well, one slightly odd things happens on the client side, but let's not get bogged down.) The appearance to my bit of googling is that the JAX-WS+JAX-B equivalent of this is, at best, a mess. If I take a WSDL from Aegis or .net and do wsdl2java, I get return type of Object on the WebMethod, plus a class with a vector of Objects in it, and perhaps an actual DOM node hiding in there. What appears to be a very simple thing -- have a DOM object as a parameter or return value of a Java-first service -- seems to be not there. I'm hoping that I'm missing something here.
