Try
wsdl.exe /server <path or URL to WSDL file>.
This will generate code for
an abstract web service class with web methods that correspond to the WSDL.
You'll need to derive a class from this abstract class and implement the
body for the abstract methods yourself.