#48013 [NEW]: soap/php_sdl.c wsdl parser don't support the 2.0 format, a w3c recommendation
| From: | rapsys at free dot fr | Date: | Sun, 19 Apr 2009 04:59:00 +0000 |
| Subject: | #48013 [NEW]: soap/php_sdl.c wsdl parser don't support the 2.0 format, a w3c recommendation | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-135961@lists.php.net to get a copy of this message | ||
From: rapsys at free dot fr
Operating system: Mandriva Linux 2009.1
PHP version: 5.2.9
PHP Bug Type: SOAP related
Bug description: soap/php_sdl.c wsdl parser don't support the 2.0 format, a w3c recommendation
Description:
------------
I tried to use php-soap extention with a wsdl 2.0 format file and I
discovered that the parser only understand old wsdl 1.1 format.
The 1.1 format documentation is there :
http://www.w3.org/TR/wsdl
A wsdl 1.1 example :
http://devzone.zend.com/node/view/id/689#Heading7
The 2.0 format june 2007 w3c recommandation is there :
http://www.w3.org/TR/wsdl20/
A wsdl 2.0 example :
http://en.wikipedia.org/wiki/Web_Services_Description_Language#Example_WSDL_file
Reproduce code:
---------------
<?php
$client = new SoapClient(
'/path/wsdl/example.wsdl'
);
Actual result:
--------------
PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't find <definitions> in
'/path/wsdl/example.wsdl' in /path/client.php on line 4
PHP Stack trace:
PHP 1. {main}() /path/client.php:0
PHP 2. SoapClient->SoapClient() /path/client.php:4
--
Edit bug report at http://bugs.php.net/?id=48013&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48013&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48013&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48013&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48013&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48013&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48013&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48013&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48013&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48013&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48013&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48013&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48013&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48013&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48013&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48013&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48013&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48013&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48013&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48013&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48013&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48013&r=mysqlcfg