I understand how to serialize an object to XML. I used to work "guts" to convey 
this is sort of a weird request. I'll grep the code.



________________________________
 From: Johan Edstrom <[email protected]>
To: [email protected]; Ron Grabowski <[email protected]> 
Sent: Wednesday, May 2, 2012 10:45 PM
Subject: Re: Can I manually serialize an object into a String soap envelope?
 
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"));

Reply via email to