2019年7月18日 星期四

[點網]從 WSDL 檔產生伺服器端介面

常常會忘記這件事,寫下來提醒自己

重點:
* 用 wsdl.exe 產生 proxy class 時,加上參數 /serverInterface
- 記得還有 asmx 要處理

參考:
https://stackoverflow.com/questions/1394930/how-to-generate-web-service-out-of-wsdl

延申:
self host wcf
https://docs.microsoft.com/zh-tw/dotnet/framework/wcf/how-to-host-a-wcf-service-in-a-managed-application

https://social.msdn.microsoft.com/Forums/vstudio/en-US/aaa6b8d5-fc49-45ca-9cab-6d5bea60fd3b/configuring-in-code-a-selfhosted-web-service?forum=wcf

https://social.msdn.microsoft.com/Forums/en-US/19c23ba7-6de8-4052-86aa-6a81f74327c6/port-issue-on-a-self-hosted-asmx?forum=asmxandxml

https://stackoverflow.com/questions/30332510/running-a-asmx-web-service-as-a-windows-service

https://dottutorials.net/creating-soap-web-services-dot-net-core-tutorial/