W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2019

WSDL file seems invalid, according to PHP

From: Martin Bean <martin@martinbean.co.uk>
Date: Fri, 14 Jun 2019 12:14:42 +0100
Message-ID: <CAEvmEvFjKT8T4ntsJP0HzVUFuj9eEhq7=60dDeKTDZMNhsnhgA@mail.gmail.com>
To: www-validator-css@w3.org
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:22 UTC