You can use anything that is handy for you to marshal objects to xml?
I'm not sure I get the question?
On May 2, 2012, at 6:58 PM, Ron Grabowski wrote:
> 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"));