5

I want to generate Web Service Classes (c#.net) from WSDL File. I want server side code not client side. Is there any tool or any other way available that can generate WCF service code from WSDL file?

Thanks in advance.

1

2 Answers 2

8

If you are using Visual Studio you can run SvcUtil.exe at the command prompt this will generate all of the C# objects based on the types defined in the WSDL, plus a service proxy that will expose the service as C# methods. It will also provide you with a sample config file for the WCF bindings. This is the same tool that Visual Studio uses for its Add Server Reference wizard, so either solution is acceptable.

Sign up to request clarification or add additional context in comments.

Comments

2

try http://wscfblue.codeplex.com/. this will generate WSDL based on XSD and generate code from wsdl.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.