ciao!
sto cercando di interrogare un service SOAP, ma ottengo questo errore:
codice:
string(139) "SOAP-ERROR: Parsing WSDL: Couldn't find in 'URL'"
solo che l'url è valido.
l'ho testo sia usando Postman che il browser.
il codice è questo:
Codice PHP:
public function getPlants() {
try {
$this->baseUrl .= "GetPlants?" . $this->apiKey;
return $this->soapClient = new SoapClient($this->baseUrl);
} catch (Exception $ex) {
return $ex->getMessage();
}
}
visto che ottengo errori solo in php, magarai sto sbagliando qualcosa io.
avete qualche suggerimento??