Simple tool to download all imported/included WSDLs and Schemas

importweb-serviceswsdl

WSDLs often import other WSDLs and XML schema.

Given a URL to a WSDL, is there a tool that will download the WSDL and all other referenced WSDLs and schemas?

Ideally, this tool would be either Java or Perl friendly.

Best Solution

soapUI has a WSDL content viewer, as the website describes

The Interface viewer allows relatively easy navigation and inspection of the entire contract for an imported WSDL, including all imported and included WSDL and XSD files and their contained types, definitions, etc.

http://www.soapui.org/userguide/interfaces/interfaceeditor.html