Tuesday, May 22, 2012

php soap client Uncaught SoapFault exception

I was receiving the following error while running a php soap client on my live server
googled but of no use
[Tue May 22 12:09:33 2012] [error] [client] PHP Fatal error:  Uncaught SoapFault exception: [HTTP] Error Fetching http headers in /var/www/html/abc/xyz.php:7\nStack trace:\n
#0 [internal function]: SoapClient->__doRequest('
#1 /var/www/html/abc/xyz.php(7): SoapClient->__soapCall('auth_method', Array)\n
#2 /var/www/html/abc/def.php(12): soapclient('user', 'pass')\n
#3 {main}\n  thrown in /var/www/html/abc/xyz.php on line 7, referer: http://192.168....../abc/xyz.php?msgs=%3Cdiv%20class=%27eRR%27%3EPlease%20log%20in%20to%20visit%20this%20page%3C/div%3E

Solution: There was a little bug missing ";" in my soap server - I think some one changed the file.
check the remote file /Server there may b some error in Soap Server