Troubleshooting WSDL Issues
kbt143922
PRODUCTIssue
An "exception is thrown" message appears when creating a WebService SMO via tester.Symptoms
When creating a Webservice SMO the following exception appears:
"VALIDATIONInvalid WebService WSDL is thrown"
Troubleshooting Steps
When the above behavior occurs, run the WSDL through a validator just to verify WSDL is compatible with standards. An example of a validator is below is:
https://www.wsdl-analyzer.com/
If all checks out with the validator, add the WSDL as a service reference via Visual Studio.
- Start a new console app
- Add the service reference
- Build.
The exception should point you in the right direction and the issue with WSDL should disappear.