Are you planning to send a serialized binary representation of a DOM object through
SOAP? That would only be accessible by a client written in
Java, and thus negate the cross-platform advantage of web services. Could you send the actual XML that corresponds to the DOM object instead?