Re: webservices and "reuse types in referenced assemblies"



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.
.



Relevant Pages

  • RE: webservices and "reuse types in referenced assemblies"
    ... I want to share the exact types used in webrequests between the client ... class used by the server: there are useful functions like ToString ... So when I create the service reference I check the advanced ... making sure that the assembly containg the ...
    (microsoft.public.dotnet.framework.webservices)
  • webservices and "reuse types in referenced assemblies"
    ... I want to share the exact types used in webrequests between the client ... class used by the server: there are useful functions like ToString ... So when I create the service reference I check the advanced ... making sure that the assembly containg the ...
    (microsoft.public.dotnet.framework.webservices)
  • Soap class definition question
    ... server it allows me to use the common class in the method. ... Now when the client tries to call that method on the service I need to use ... The service reference on the client seems to allow for this in its "Service ...
    (microsoft.public.dotnet.xml)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)