How do I see the actual XML generated by PHP SOAP Client Class?

KijakA73

New Member
Consider this example SOAP Client script:\[code\]$SOAP = new SoapClient($WDSL); // Create a SOAP Client from a WSDL// Build an array of data to send in the request.$Data = http://stackoverflow.com/questions/3572414/array('Something'=>'Some String','SomeNumber'=>22); $Response = $SOAP->DoRemoteFunction($Data); // Send the request.\[/code\]On the last line, PHP takes the arguments from the array you specified, and, using the WSDL, builds the XML request to send, then sends it.How can I get PHP to show me the actual XML it's built?I'm troubleshooting an application and need to see the actual XML of the request.
 
Back
Top