Andrej Kmet
Andrej Kmet

Reputation: 23

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?

Upvotes: 2

Views: 3230

Answers (2)

joshuahedlund
joshuahedlund

Reputation: 1782

Try to connect to ?singleWsdl instead of ?wsdl

Upvotes: 3

Mikołaj Pastuszko
Mikołaj Pastuszko

Reputation: 238

This is PHP bug #45282.

You can try Pear SOAP implementation.

Upvotes: 3

Related Questions