I'm trying to get my SOAP client working and do face a strange behavior for hours now:
$client = new SoapClient(".....", array('trace' => 1));
$result = $client->......();
echo "REQUEST:
" . $client->__getLastRequest() . "
";
this echoes: 21d650036748112168d66622aa01185e8c but not the XML.
Look at the source code, You will see the XML. Other possibility, use PHP htmlentities function to echo the request : echo "REQUEST: " . htmlentities($client->__getLastRequest()) . " ";
I believe user2903575 is correct. What you are most likely seeing is the browser's rendering of the XML envelope. If you go to the usual page->view source, or use a tool like FireBug or Chrome's Inspect Element, you should be able to see the entire XML request in there.