H
Henrik Gøttig
Hi all
Feeling a bit frustrated here. Maybe I did not find the correct info
yet, that's why I am asking you.
I have "developed" a .NET 2.0 WebService and generated (using wsdl.exe)
the WSDL for it.
The types I am returning from webmethod calls has a superclass
(BaseBusinessObject). So MyBusinessObject inherits from BaseBusinessObjects.
That gives me two schemas in the <types> section of my wsdl. One for the
superclass and one for the "real" business object.
Can I setup wsdl.exe somehow to generate the types in my wsdl to a
specific namespace, that is *not* the same as the namespacing I am
generating the WebService proxies to.
That way I can encourage type sharing between webmethods where it is
appropriate.
I have read somewhere that there is a way to "hook" in the schemaimport
process, but that is really a last resort....
One could always use the /sharetypes switch and then generate everything
(types, proxies, etc.) in one huge file.
Anyone has an idea, may be alternative..but anything..
Thanx in advance
Regards
Henrik
Feeling a bit frustrated here. Maybe I did not find the correct info
yet, that's why I am asking you.
I have "developed" a .NET 2.0 WebService and generated (using wsdl.exe)
the WSDL for it.
The types I am returning from webmethod calls has a superclass
(BaseBusinessObject). So MyBusinessObject inherits from BaseBusinessObjects.
That gives me two schemas in the <types> section of my wsdl. One for the
superclass and one for the "real" business object.
Can I setup wsdl.exe somehow to generate the types in my wsdl to a
specific namespace, that is *not* the same as the namespacing I am
generating the WebService proxies to.
That way I can encourage type sharing between webmethods where it is
appropriate.
I have read somewhere that there is a way to "hook" in the schemaimport
process, but that is really a last resort....
One could always use the /sharetypes switch and then generate everything
(types, proxies, etc.) in one huge file.
Anyone has an idea, may be alternative..but anything..
Thanx in advance
Regards
Henrik