SOAP call troubles.
Posted: Tue Jul 21, 2009 6:59 am
I have a quite strange SOAP problem. I have 3 servers in the production cycle here, localhost->development/test->live. I have a script that makes a SOAP call to an outside server to get some data and this script works 100% on localhost and on the development servers but for some reason does not work on the live server. The code basically is this:
Like I said, it works on localhost and development server but on the live server I get this error message:
Code: Select all
//some stuff above this line
$params = array(
'username' => '********',
'password' => '*********',
'year' => date('Y', $helper->timestamp),
'month' => date('n', $helper->timestamp),
'day' => date('j', $helper->timestamp)
);
$client = new SoapClient('https://www.betsson.com/ws/PartnerCom/PokerPartners.asmx?WSDL');
$return = $client->GetPokerStatsDay($params);I have wondered if it was IP blocking but they swear they don't do any IP restrictions or anything so I am at a lose as to why this would be happening. Anyone have any insight as to the possibilities here?Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.server.com/path/to/soap/call' : Start tag expected, '<' not found
in /file/path/file.php:16
Stack trace:
#0 /file/path/file.php(16): SoapClient->SoapClient('https://www.ser...')
#1 {main}
thrown in /file/path/file.php on line 16