Skip to content
Lenard Gunda edited this page Feb 26, 2014 · 3 revisions

WSDLMerge allows you to merge the WSDL and XSD files into a single WSDL file.

Often web service descriptions are spread across several files. The main description is in a WSDL file, and the required type descriptions are spread out across several schema (XSD) files. Maybe the service uses some common schemas or the schemas were just broken up for better readability. However, some tools (for example svcutil.exe in the .NET Framework or BizTalk?) might not like this, they cannot resolve references or require that you explicitly point out all the files to the tool. Read how to use the utility.

This utility can follow references and merge all files (starting from a single WSDL file) into a single file. The resulting merged file is equal to the sum of all of the original files, except there are no more references, just one single file. There is no need to copy all XSD files to the same folder, the location attributes will be followed to other directories as well.

Note that only XML Schema Files (.XSD) are merged. If there are multiple WSDL files that describe the service, those cannot be merged into the main document body.

For example, the svcutil.exe even with .NET 4.0 cannot properly merge Web Service descriptions that have multiple schemas imported, and those schemas have include elements to include even more schemas. Once merged with WSDLMerge, svcutil can produce a proxy or service code

Clone this wiki locally