Is there a rest web service that is issued by WADL, which generator can be used to generate C # code for response / request models?
2 answers
You can try to generate this utility
- It looks like some kind of generator that was actively supported for .Net is not. -
There are three programs in the system for generating classes. This is disco.exe (A program to detect the URLs of XML Web services located on a Web server and save documents associated with this XML Web Service on a local disk. The results.discomap, WDSL and XSD files created by this tool , can be used with the wsdl.exe program to create web services clients and abstract web services servers using ASP.NET.), wsdl.exe (A program for generating code for XML Web service clients and XML Web services, using ASP.NET from WSDL contract files, XSD schemas, and discomap documents found. This tool can be used with the program disco.exe.) and xsd.exe (Program for creating schema files or classes from a specified source.). They are located in the "Microsoft SDKs \ Windows \ version \ bin \" folder (I have them in the "C: \ Program Files (x86) \ Microsoft SDKs \ Windows \ v8.1A \ bin \ NETFX 4.5.1 Tools" folder). Run from the command line. Maybe they will help you? I personally, really worked only with xsd.exe. Excellent generic, very rarely needed manual adjustment.
- It's clear with wsdl, but it doesn't work with wadl. - hardsky
- Sorry, thought would help ... - Oleg Knysh