For a web service call using a WSDL, I\'m getting the error Cannot find dispatch method for {http://ws.somecompany.com/services}ValidateUser
, what does that me
In my case, the following exception was throwing even I've supplied all the parameters
SoapFault exception: [S:Client] Cannot find dispatch method for {}parameters in
After banging my head few hours, just adding a \ while initializing SoapClient solved the problem.
From:
$client = new SoapClient($soapURL);
To:
$client = new \SoapClient($soapURL);