note 113212 added to class.soapclient
| From: | Anonymous | Date: | Thu, 12 Sep 2013 21:25:04 +0000 |
| Subject: | note 113212 added to class.soapclient | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196246@lists.php.net to get a copy of this message | ||
I got the following error when trying to load the WSDL file:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: <message>
'MessageName' already defined
In my case there was no double definitions but it was including other files - I think one of them
contained a duplicate message with a different namespace (which SoapClient doesn't like).
I resolved it by loading the WSDL in SoapUI, right-clicking and selecting "Export
definition". The WSDL that then got created worked fine. Hope this helps somebody.
----
Server IP: 69.147.83.199
Probable Submitter: 83.250.209.104
----
Manual Page -- http://php.net/manual/en/class.soapclient.php
Edit -- https://master.php.net/note/edit/113212
Del: integrated -- https://master.php.net/note/delete/113212/integrated
Del: useless -- https://master.php.net/note/delete/113212/useless
Del: bad code -- https://master.php.net/note/delete/113212/bad+code
Del: spam -- https://master.php.net/note/delete/113212/spam
Del: non-english -- https://master.php.net/note/delete/113212/non-english
Del: in docs -- https://master.php.net/note/delete/113212/in+docs
Del: other reasons-- https://master.php.net/note/delete/113212
Reject -- https://master.php.net/note/reject/113212
Search -- https://master.php.net/manage/user-notes.php