I spent hours trying to do some customizations in the wsdl generation, without results. I got stuck mainly because I could not find a clear sample for what I want to do (I may have missed something).
Let's got to the point : I want to customize the generated WSDL. The most relevant articles I found are about adding attributes to existing Services to add behavior, like this article.
What I want to do is being able to analyze the OperationContract and generate and additionnal xsd if required.
My questions are :
- How can you add or intercept existing WSDL generation without adding attributes ?
- How do I configure this component in the config file ?
I don't want to change the way the metadata are consumed by svcutil.exe, just add some ComplexType 'on-the-fly' in the generated wsdl.
Thanks for your suggestions !