note 110388 modified in class.soapclient by danbrown
| From: | danbrown@php.net | Date: | Thu, 06 Dec 2012 14:44:35 +0000 |
| Subject: | note 110388 modified in class.soapclient by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192353@lists.php.net to get a copy of this message | ||
To avoid this error:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://services.example.com/orderdog/order.asmx'
: Premature end of data in tag html line 3 in
add ?WSDL to end of your URL
For example:
<?php
$client = new SoapClient('http://services.example.com/orderdog/order.asmx?WSDL');
?>
--was--
To avoid this error:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn\'t load from
\'http://services.example.com/orderdog/order.asmx\'
: Premature end of data in tag html line 3 in
add ?WSDL to end of your URL
For example:
<?php
$client = new SoapClient(http://services.example.com/orderdog/order.asmx?WSDL);
?>
http://php.net/manual/en/class.soapclient.php