WSDL file seems invalid, according to PHP

I’m trying to use the CSS validator programatically in a PHP script.. I’m
using PHP’s native SoapClient class. Here is my test script:

$client = new SoapClient('http://www.w3.org/2005/09/css-validator.wsdl', [
    'soap_version' => SOAP_1_2,
]);

But this gives me the following error:

SOAP-ERROR: Parsing WSDL: Couldn't find <definitions> in '
> http://www.w3.org/2005/09/css-validator.wsdl'


Is the validator using a non-standard version of SOAP?

-- 
*Martin Bean*
Web developer, consultant, author, and speaker

*Website:* martinbean.co.uk
*Twitter:* @martinbean <http://twitter.com/martinbean>
*LinkedIn:* http://www.linkedin.com/in/martinbean
*Skype:* mcbwebdesign

Received on Friday, 14 June 2019 11:31:36 UTC