Marc Gravell
6/11/2008 9:43:00 AM
> when A's declaration says it is Common.Mode.
When you add a web-reference, it will create proxy objects that are
completely isolated from anything else, even if they look identical. So
if you have 2 web-references (one to A, one to B) then service A will
want to use A.Mode.
So; are you sure A uses Common.Mode?
If you use the command line, tools like wsdl.exe allow you to use the
/sharetypes switch and specify multiple urls to generate a single set of
proxies for all those services - so the same Model will be used for A
and B, but it still won't be Common.Mode.
If you want to use assembly sharing (to use Common.Mode on the service),
then you can do this with WCF, but not with asmx AFAIK.
Marc