Thursday, July 21, 2016

WSDL vs singleWsdl

WCF 4.5 came with a new option ?singleWsdl. singleWsdl allows the user to get a single WSDL file with all schemas in it.

There are cases where the WSDL contains an XML Schema that can be specified outside the WSDL file and is imported by the WSDL. Also, there are code generators which can handle only full WSDL and if the schema lies outside WSDL, it has to be downloaded separately and added manually.

For this reason, ?singleWsdl was introduced as a convention so that the whole WSDL with the related schema can be download and consumed by systems which support full WSDL only.