If you search on method "doubleItWorksForPrimeNumbers()" on this page
[1], it might have something close to what you're looking for.
HTH,
Glen
[1] http://www.jroller.com/gmazza/entry/junit_web_service_testing
On 05/02/2012 08: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"));
--
Glen Mazza
Talend Community Coders
coders.talend.com
blog: www.jroller.com/gmazza