View SOAP messages

How can I inspect the SOAP message send to a remote service?


ws = CreateObject("webservice", "http://localhost:8080/test.cfc?wsdl");
dump( ws.method( "" ) );

req = getSOAPRequest( ws );  **//REQUEST**
res = getSOAPResponse( ws ); **//RESPONSE**

dump( req );
dump( res );