Using WSDL.exe with a local WSDL file with external .xsd files

I am trying to create a web service stub from some of the wsdl / xsd files that the client sent to us. I did this without problems using wsdl.exe before everything was in the wsdl file, but when I ran the file in the wsdl file, I get an error message that cannot import one of the operations, because one of the elements located in external xsd are missing.

I tried putting the schemLocation parameter on the element and it still does not work. Is there a way to indicate that xsds when calling wsdl.exe?

I cannot publish wsdl files because they are covered by NDA.

+6
source share
1 answer

Turns out you can have multiple file names as WSDL.exe parameters if you included the xsd files after the wsdl file, which works fine ...

+10
source

Source: https://habr.com/ru/post/914024/


All Articles