ANSWER PRINTED WITH PRINT (and context): And don't forget that svcutil.exe is just a tool. You can modify or extend the generated code - there is no prohibition there. Although, of course, there are flaws in customizing the generated code, and you should only do this with your eyes wide open.
In the early days, when I installed heterogeneous clients and servers together through web services, I regularly resorted to modifying the generated WSDL by changing the code generated from WSDL (I wrote many sed scripts to exchange namespaces when connecting AXIS and .NET) and others customized approaches. Some of the web services that were around the longest still require this. One example is the MS Office Research service, which does not send WSDL at all ...
Another approach, which may or may not work, is to extend the generated .NET code through partial classes. This is a great way to customize XML namespaces, add extra elements (like a version string?), And make other adjustments. And when you re-create the code, your extensions will not be overwritten.
EDIT: Judging from the top down, some people think this is too risky !!! I completely understand.
source share