php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49397 SoapClient Error
Submitted: 2009-08-28 09:49 UTC Modified: 2009-12-21 01:00 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:2 (50.0%)
From: persiancity at gmail dot com Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.3.0 OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-08-28 09:49 UTC] 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
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-28 10:15 UTC] 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 10:31 UTC] 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-31 20:14 UTC] sjoerd@php.net
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.
 [2009-09-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-12-13 19:05 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-12-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 08:01:30 2024 UTC