Is there a class in the guts of CXF that I could use to serialize an object into a String soap envelope?
INFO: Outbound Message
---------------------------
ID: 2
Address: http://...
Encoding: UTF-8
Content-Type: text/xml
Headers: {Accept=[*/*], SOAPAction=["http://..."]}
Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap...
SoapHandler handler = new SoapHandler(); // ???
String envelope = handler.handle(foo); // ???
assertTrue(envelope.startsWith("<soap:Envelope"));
