问题
I have two files, one with webservice description (wsdl), second with data structures used in webservice (xsd). I have nothing more, webservice doesn't work yet. I need to merge them into one, because Delphi 7 WSDL Importer doesn't handle included xsd files to well. Where can I find tool to do it?
EDIT
I copied xsd content into <types>
section and it works. I tried it before, but I must have made a mistake and Delphi WSDL import didn't work. I have to improve my copy/paste skills.
回答1:
You might change the include
into an import
.
I have seen various tools handling either one better than the other.
As an alternative, use XMLSpy: here you can edit your WSDL and import your XSD into it.
This question has an answer on how to place the content of the XSD into the WSDL.
回答2:
You could also try the updated importer from here:
http://cc.embarcadero.com/Item/24535
Support was added for external schema files.
回答3:
I copied xsd content into section and it works. I tried it before, but I must have made a mistake and Delphi WSDL import didn't work. I have to improve my copy/paste skills.
来源:https://stackoverflow.com/questions/2627749/what-tool-can-i-use-to-merge-wsdl-and-xsd-file