What do you mean to see if it works for a class?

The wsdl wraps the web service class in a way that any language should be able to read it. (If the language is web service enabled)