gowsdl icon indicating copy to clipboard operation
gowsdl copied to clipboard

External Schemas Not Supported

Open elkvis opened this issue 9 years ago • 2 comments

If a wsdl file references a schema at a separate URL, which contains types, gowsdl will not read that schema file, and as a result, those types will not be generated, and errors will be generated during the build process.

My workaround has been to copy the contents of the external schema into the wsdl file, which then allows gowsdl to generate all of the client info for the web service.

elkvis avatar Apr 08 '16 14:04 elkvis

@elkvis did you manually do that or do you have some sort of script that replaces the contents? i hit the same problem and currently trying to get wsdl imports feature working.

sosedoff avatar Jul 10 '16 16:07 sosedoff

I did it manually, but I'm sure a tool could be created to do it. It's not something someone is likely to need to do often enough to require a tool, since it's just a simple copy/paste operation. On the other hand, a properly designed tool would give a greater guarantee that it's done without errors.

elkvis avatar Jul 11 '16 20:07 elkvis