WCF, WSDL and differences from web services
August 5, 2008
I’m back after a four week vacation (oh yeah - us Swedes really has things going for us). More about the vacation later. First thing to learn this “season” is that the WSDL generated by WCF (Windows Communication Foundation) services differs from the one generated with ASMX web services.
The main difference is that the WSDL is generated with some kind of virtual links. That is; parts of the WSDL-file is retrieved using a different URL. For example: schemaLocation=”http://localhost:3236/Bokforing.svc?xsd=xsd0
This seems to be working fine in Visual Studio 2008 (and hopefully in 2005 also), since they are capable of navigating such references. But there are problems when you want to send the WSDL-file to someone as an attachment, or in other environment that can’t navigate such links.
Fortunately Christian Weyer has a suggestion on how to solve this. There are also some other very useful...