I am trying to programmatically read wsdl files in C #. I am struggling with import to wsdl. The .net classes "ServiceDescription" and "DiscoveryClientProtocol" allow me to read the wsdl files and all the wsdl files that it imports, but they are returned as separate ServiceDescriptions. Ideally, I would like one ServiceDescription in which all imports were "inlined" / "flattened". There is a good XmlSchemaSet.Compile method for schemas, but I have not found an analogue of a web service.
source
share