I have a webserivce and just doing simple thing to call webservice in SOAP Client
i.e.
$client = new SoapClient("http://test.unistream.com/wcflib/service.svc?WSDL");
It says
SOAP-ERROR: Parsing WSDL: 'IWebService_GetCountries_InputMessage' already defined
web service is
http://test.unistream.com/wcflib/service.svc?WSDL
Thanks.
It might be related, or same issue with this: https://bugs.php.net/bug.php?id=43868 ,
also you may find a possible solution here PHP SoapClient: Problems with Distributed WSDL File
(maybe duplicate...)
later edit, here another link: http://www.codingforums.com/showthread.php?t=181338
The issue is that the 'IWebService_GetCountries_InputMessage' type is defined more than once in that WSDL. This is not an error with your code, but with the WSDL you are attempting to consume. You should talk to whoever wrote the WSDL to see if they can recreate it and fix the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With