Hi all,
I've been trying to get this web service to work all evening, but I'm having no success. As I'm running out of ideas fast, I'm hoping that someone will be able to help shed some light on it.
I'm using the WSDL from:
http://www.flash-db.com/services/ws/companyInfo.wsdl Whenever I connect to the service to retrieve a company's stock information, this exception is thrown:
System.InvalidOperationException: Client found response content type of 'text/html', but expected 'text/xml'
with this error message:
<br />
<b>Warning</b>: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration in <b>/home/flash-d/public_html/services/ws/companyInfo.php</b> on line <b>16</b><br />
<br />
<b>Warning</b>: fopen(
http://quote.yahoo.com/d?f=snl1d1t1c1p2va2bapomwerr1dyj1&s=MSFT) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found in <b>/home/flash-d/public_html/services/ws/companyInfo.php</b> on line <b>16</b><br />
<br />
<b>Warning</b>: fgetcsv() expects parameter 1 to be resource, boolean given in <b>/home/flash-d/public_html/services/ws/companyInfo.php</b> on line <b>18</b><br /> . . .
I'm pretty certain that I've coded everything correctly (I'm following an example from a book) so could it be because there's something going wrong on the web service side?
Thanks.