I have created a self hosted service using WCFa and I want to provide my own wsdl from a local file rather than the generated wsdl - how can I do this? I actually need to produce a web service which is compatible with existing clients build for a asmx service as explained here: http://msdn.microsoft.com/en-us/library/aa738697.aspx. This article assumes you are going to host in IIS however. I managed to get a working stand alone server which is compatible with the existing client, but I want to serve up the original wsdl generated from the asmx service from a file . The article talks about using externalMetadataLocation attribute to do this in the config file - but this seems to want a URL rather than a file location - I tried fie://... but it gave an error.