This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

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.