I had to consume a Web Service in php (Zend Framework), everything seems to be fine, but when I wanted to retrieve the response from the server through a try catch system like this:
try{
$response = $client->METHOD_TO_CONSUME(array(
'DATA1' => $data1,
'DATA2' => $data2
)
);
} catch (SoapFault $e) {
Mage::log("Fault Message: " . $e->getMessage());
Mage::log("Fault Code: " . $e->faultcode . ' ' . $e->faultstring . ' ' . $e->detail);
Mage::log("Fault: " . (string) $e);
}
But then i got this error: SOAP-ENV:Client SOAP-ENV:Client Internal Server Error SoapDoc::CheckNameSpace: Wrong xml name space
First i thought it was a problem with the WSDL, but then i made some test with SoapUi, and everything worked perfectly. I don't have any idea what it could be happening?