Hi all,
I've been exploring the way I can manipulate WSDL.exe using
SchemaImporterExtension in order to create a proxy to my liking.
My situation is as follows - I have a web site that has multiple asmx files,
some of them share the same data types (the famous "Order" example).
What I want is this final result:
- A class file that holds all the proxy classes, but no data types
- A class file that holds all the data type, but no proxy classes
So far, I achieved the first by deriving from SchemaImporterExtension and
change that every time a data type is used, it is referenced by another
namespace, therefore the data types are not generated in the first file.
The second file is the problematic one - How can I use the
SchemaImporterExtension class (or any other class) to manipulate the way the
proxies are created ? or to be more specific - How can I instruct the
wsdl.exe not to generate proxy code ?
Thanks in advance,
Ido.