Open elkvis opened 8 years ago
@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.
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.
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.