1
votes

Is there any application that can use as input a XML file (wsdl in fact) with some includes and browse recursively these includes to make a final XML (big, indeed) with the target includes merged into it?

Explanation: The BDS 2006 WSDL Importer, cannot deal with includes and some data types defined into imported xsd are not imported so i get compilation errors. When I replace all includes recursively with all the referred XSD files into one big XML, the WSDL Importer works fine, but do this replacements manually is very hard and time expensive. There are some application to do it for me?

Thanks in advance!

3

3 Answers

4
votes

I think that QTAssistant does it way better (I am partial here), at least compared with the steps described by @Nick in his comment; one thing that is assumed here is that there's only one XSD; if there's more than one namespace involved, the approach would be to copy each file individually, while making sure that the schemaLocation attributes are removed. Regardless, there seems to be lots of fiddling involved.

In QTAssistant, there's a button under the Tools tab, Internalize XSDs; its job is to prompt you for a WSDL file location, and a folder where to copy the result.

QTAssistant WSDL Internalize XSD command

Fill in these two fields, press Load and then OK.

QTAssistant WSDL Internalize XSDs prompt

The refactored WSDL file is then opened for reviewing.

enter image description here

You can also press the Validate button to run it by WS-I BP 1.1 rules, as well as XSD schema set validation.

2
votes

I think that OxygenXml can do this.

I'm not a delphi developer. I'm assuming that you are trying to created a consolidated concrete WSDL for consumption by some kind of proxy generator in delphi yeah?

-3
votes

There are some problem with my WSDL. All answers are good answers but none of then works. Thank you all for the try