Bizspark WSDL xsd=xsd2 error #solved
When connecting to a Bizspark based WSDL webservice (.svc) endpoint, via add service reference in visual studio (same error with WSDL.exe), then I got this error;
The document was understood, but it could not be processed.
– The WSDL document contains links that could not be resolved.
– There was an error downloading ‘?xsd=xsd2’.
– Unable to connect to the remote server
– A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Now, I checked the WSDL, and it looked like valid XML, but I did see a reference to a URL that had a reference to a URL which had the ?xsd=xsd2 querystring, and didn’t actually go anywhere when I clicked it.
So, I then had a look at the webservice homepage again, and noticed that you can use an alternative WSDL document, which combines all the nested XSD’s in one: using ?singleWsdl in the querystring.