Soap11, Soap12, XML, JSON) to be able to call any web service. This is what spurred me to solve in my open web services framework where I decouple the end point and payload which allows: In my opinion the tight coupling of the WCF proxy, endpoint channel, service operations and dto payloads into the same generated client proxy is a major design flaw. I believe what you are looking for is: svcutil.exe /r your-dtos.dll They'll essentially generate a non-functioning / incomplete proxy. You do not add service references either since you are manually managing the connections.ĮDIT: Following this approach, the client can still try to generate proxy objects via wsdl.exe/svcutil.exe, but they won't get the correct information from the wsdl. In this approach you do not use wsdl.exe/svcutil.exe at all since you are essentially bypassing the wsdl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |