From:             Martin dot Bosslet at googlemail dot com
Operating system: Windows XP SP2
PHP version:      5.2.6
PHP Bug Type:     SOAP related
Bug description:  SoapClient has namespace issues when WSDL is distributed

Description:
------------
I have tried to access a web service whose WSDL is distributed among
several files each of which contains references to several further XSDs.
Now the WSDL itself is valid, as .NET or Java clients have accessed the
services without any problems. But when creating a new instance of
SoapClient it fails because I'm told that a certain element has already
been defined. The problem is, that there are <message> elements with the
same name, but they DO differ in namespaces.

Reproduce code:
---------------
$client = new SoapClient('someURI');

/* Please email me to get a copy of the WSDLs producing the error. They're
too large to be posted here (although I tried to keep them small already)
and I have no facility to make them available online. */

Expected result:
----------------
No error when parsing the WSDL.

Actual result:
--------------
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL:  '<Element>' already
defined in <FILE>

-- 
Edit bug report at http://bugs.php.net/?id=45282&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45282&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45282&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45282&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45282&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45282&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45282&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45282&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45282&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45282&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45282&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45282&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45282&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45282&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45282&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45282&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45282&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45282&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45282&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45282&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45282&r=mysqlcfg

Reply via email to