#49397 [Fbk]: SoapClient Error
ID: 49397
Updated by: sjoerd@php.net
Reported By: persiancity at gmail dot com
Status: Feedback
Bug Type: SOAP related
Operating System: Windows
PHP Version: 5.3.0
New Comment:
I could not reproduce the problem you report.
This bug is unlikely to get solved unless you provide some more
information. Maybe you can try a sniffing program I wrote:
http://www.gissen.nl/files/sniff.php
You can start it with:
php -f sniff.php > dump.txt
Then, run the code you supplied but with a different URL:
<?php
$client = new
SoapClient('http://localhost:8080/http://efyek.com/ws/pws.php?wsdl');
?>
Please supply us with the resulting dump.txt.
Previous Comments:
------------------------------------------------------------------------
[2009-08-28 10:31:37] persiancity at gmail dot com
yes. this is working when I save it on disk and call it locally.
sorry I have not installed sniffer program.
------------------------------------------------------------------------
[2009-08-28 10:15:45] sjoerd@php.net
Thank you for your bug report.
The problem you describe looks similar to bug #49226. Does it work
correctly if you save the WSDL to disk before loading it? Could you make
a dump of the HTTP connection with a sniffer?
------------------------------------------------------------------------
[2009-08-28 09:49:21] persiancity at gmail dot com
Description:
------------
I get thos error on PHP5.3 on Windows when try to use SoapClient. There
is not error for same code in PHP 5.2 and above.
Reproduce code:
---------------
$client = new SoapClient('http://efyek.com/ws/pws.php?wsdl');
Actual result:
--------------
Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't
load from 'http://efyek.com/ws/pws.php?wsdl' : Extra
content at the end
of the document in class.p24.php:39 Stack trace: #0 class.p24.php(39):
SoapClient->SoapClient('http://efyek.co...') #1
indexall.php(38):
p24Class->connect() #2 {main} thrown in class.p24.php on line 39
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49397&edit=1
Thread (4 messages)