Generating and invoking WCF service using WSDL and XSD programmatically
-
Hi, My situation is following: I have a bunch of XSD files as input only. And I know how WCF service contract should look like: [ServiceContract] public interface ICustomService { [OperationContract] Message CustomAction(Message msg); } Message is SOAP message. I need to create WSDL file based on XSD files. After that I should use that WSDL file and existing XSD files to create WCF service that should be in the form above. The important thing is - everything should be done dynamically (programmatically). It means XSD files should be added to the process of WSDL creation also programmatically, created WSDL file should be used to invoke WCF service also programmatically... So, if someone can write some code as putting me to right direction I'll be more than thankful. Thank you in advance.