Search code examples
phpsoap-clientxtrf

Parsing WSDL: xx already defined


When I try to execute following PHP code:

$client = new SoapClient("https://.../translationManagementService/XTRFService?wsdl");

I get:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: 'createCustomer' already defined in /data/r/e/reachlocalization.com/web/createuser.php:31 Stack trace: #0 /data/r/e/reachlocalization.com/web/createuser.php(31): SoapClient->SoapClient('https://.......') #1 {main} thrown in /data/r/e/reachlocalization.com/web/createuser.php on line 31

Am I doing something wrong or is this server related?


Solution

  • This is PHP bug #45282.

    You can try Pear SOAP implementation.