Reputation: 1716
When trying to connect to a web service using the following
$client = new SoapClient("http://vocab.ndg.nerc.ac.uk/1.1/VocabServerAPI_dl.wsdl");
I get this error message
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in complexTyp
Which seems odd as all I am doing is trying to connect to it not use any functions from it.
Does anyone know what would be causing this error?
Upvotes: 0
Views: 5056
Reputation: 3185
The WSDL itself. There is something wrong with the way the WSDL is written when this error comes up. What exactly? I don't know.
Upvotes: 1