I have a client application that talks to a web service. The code works if i build of the body manually i.e.:
SOAPEnvelope env = ....
SOAPBody body = envelope.getBody().addBodyElement(envelope.createName("FirtsNode"));
What I really want to do is set the SOAPBody's payload to be the contents of an in memory XML document but I don't see a way to add a Document to the body.
Thanks in advance