note 110388 modified in class.soapclient by danbrown
| From: | danbrown@php.net | Date: | Wed, 17 Oct 2012 21:17:23 +0000 |
| Subject: | note 110388 modified in class.soapclient by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191366@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