简体   繁体   中英

Web service windows form application

On adding web service reference from wsdl, the service client class generated is duplexclientbase instead of clientbase. In other projects it is clientbase. Can you suggest a way so that the autogenerated service client will be clientbase. Thanks in advance.

This is because the client inherits from DuplexClientBase instead of ClientBase. If you want to change the generated code you need to change the implementation of the proxy.

If you want to learn more specifically about one way and duplex binding you can read this article: http://www.cnblogs.com/chucklu/p/4728528.html

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