I have a WCF Service. I have an external software that can read only .asmx files. Is it possible to convert my .svc file in the corresponding .asmx?
I think converting from wcf to asmx isn't very straight forward as you would be essentially going back in time with technologies. I'd image the easiest option to go for would be to write an asmx webservice which exposes the same methods as your wcf service and acts as a proxy to the wcf service.
This way your external software can call the asmx service, but also anything new can consume the wcf service. This way you can keep the logic in one place, but both benefit from updates etc.
Hope this helps.
"Software that only reads .asmx files" doesn't make sense. No software reads either .asmx files or .svc files - both types are interpreted on the server and never returned to a client.
I think you need to look more deeply into what this external software really wants. It would be entirely brain dead if it cared about the file type in a URL!
I'm guessing the external software is actually reading the WSDL generated by the asmx file, and doesn't support the protocols exposed. Definitely check what level SOAP support this software has, and adjust your wcf service accordingly.
If the service is small, its not terribly hard.
Its possible to decorate a class with both WCF and ASMX attributes. Then reference the class in an ASMX file and a WCF file.