PHP and SOAP
Just a place to dump some notes about how to work with PHP while I work on the VOSpace Endpoint.
Debugging
Handy function to get things from the client.
function barf($client) {
// show what's going across the wire
print "<pre>\n";
print "Request:\n".htmlspecialchars($client->__getLastRequest()) ."\n";
print "Response:\n".htmlspecialchars($client->__getLastResponse())."\n";
print "</pre>";
// show how to do the XML stuff in PHP
print "<pre>";
print_r($client->__getTypes());
print "</pre>";
}
