Re: webservices and "reuse types in referenced assemblies"
- From: abhay.jaiswal11@xxxxxxxxx
- Date: Sat, 17 May 2008 10:28:55 -0700 (PDT)
On Apr 22, 12:35 am, davidkclark <davidkcl...@xxxxxxxxx> wrote:
I see that this has been asked before, but there seem to be no
(working) resolutions.
I want to share the exact types used in webrequests between the client
and the server. The proxy is too pale a representation of the actual
class used by the server: there are useful functions like ToString
overrides etc that I want the client to use.
So when I create the service reference (VS 2008) I check the advanced
option to reuse the types, making sure that the assembly containg the
types and their interfaces is referenced. But the generated
resources.cs seems to be pretty much identical to without.
I have been able to modify the file to make it use the referenced
assembly, but then of course it gets overqritten if you update the
service reference. It seems to me that what I want is exactly what is
promised by that option, but it fails to do anything when selected. Is
there something that I am missing? Has anyone managed to get this to
work?
Thanks
Did you have any luck? I am trying the same and it does not work.
.
- Prev by Date: gmonthday mapping wrong ??
- Next by Date: RE: webservices and "reuse types in referenced assemblies"
- Previous by thread: gmonthday mapping wrong ??
- Next by thread: RE: webservices and "reuse types in referenced assemblies"
- Index(es):
Relevant Pages
|