I have about 20 wsdl that need to be converted into a single proxy class. Many of these share the same types so I absolutely have to use /sharetypes. For some reason some of the classes are not finding their way into the resulting proxy class. When running wsdl.exe without using /sharetypes (but executing the command just for one wsdl), these classes reappear.
Searching through the wsdl I have found that these classes are empty complexTypes. See below:
- <complexType name="UserImpl">
- <extension base="impl:User">
I absolutely need these classes as many of the calls return them and exceptions are thrown when this occurs. I have confirmed that manually re-adding this specific class fixes one of the issues I have encountered so far. So I know that generating these would work (it also worked when generating the single proxy class). Fixing this manually is simply out of the question since the resulting .cs file is about 1.4MB in size. I also do not have the ability to change the web services, I do not own these components. I would rather find why the wsdl.exe tool isn't cooperating.
Here's what the missing class should look like:
View Complete Post