C#C
C#3y ago
31 replies
.tree

❔ Rewrite .NET Framework 4.5.1 SOAP client to REST in .NET 6

I have this SOAP web service that I rewrote to REST. That part wasn't so hard, but now I have to rewrite the SOAP client part. From what I can tell, it's super long .cs that was generated based on two .wsdl files. How do I approach this, do I just throw away the .wsdl files and rewrite the whole thing? I only ever called a REST API in some demo application, how would a best practice real world example look like?
Was this page helpful?