简体   繁体   中英

WCF WebHttp Services create proxy class

i was uisng this template: http://visualstudiogallery.msdn.microsoft.com/fbc7e5c1-a0d2-41bd-9d7b-e54c845394cd , created my service, everything ok.

The problem is use it in an application, how I can use the xsd.exe and the schema to generate client proxy classes. which i know it will generate something like this: http://www.ageektrapped.com/blog/wp-content/uploads/serializer/generated.cs.html .

When i learn this, i used the visual studio command prompt to generate the class, but now i can't remember how it is done.

我已经解决了问题,使用响应Xml Schema创建了一个xsd文件,该文件位于http:// localhost:0000 / Service1 / help / operations / GetCollection ,然后在命令行中使用xsd / c service1.xsd生成.cs文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM