When working on hybrid solutions with WCF you will definitely get a requirement to share your WSDL. All of you who are working on such project already know or even feel that this can be a serious issue. WSDL typically describes the contract and configuration of one Web Service. Unfortunately when working with WCF you will figure out that downloaded WSDL is a file which reference number of types shared in several schema document (unflatten WSDL). The tool FLATTENXML.EXE downloads and corrects the metadata so it can be used if you do not have access to the service.