Re: abstract class overriding?
From: drb (drb_at_discussions.microsoft.com)
Date: 03/25/05
- Next message: drb: "Re: abstract class overriding?"
- Previous message: Peter Schmitz: "General question"
- In reply to: Manohar Kamath: "Re: abstract class overriding?"
- Next in thread: drb: "Re: abstract class overriding?"
- Reply: drb: "Re: abstract class overriding?"
- Reply: Manohar Kamath: "Re: abstract class overriding?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Mar 2005 04:47:03 -0800
Hi Manohar,
Thanks for your reply. Yes, I did use the "/server" switch because I
thought that's what I was supposed to do to generate the server stubs. When
I saw that the tool generated an abstract class and methods, and saw the
comments in the file warning not to modify the file, it seemed to make sense.
I would override the class/methods in a separate file in the VS.NET project,
and then "somehow" .NET would hook my method overrides into the service at
runtime. When it built successfully I thought I was on the right path.
So there's really no way to use/override the abstract class generated for
the server side when using the "/server" switch? I can't believe the tool
would produce something unusable. Is the abstract class just supposed to be
some sort of "guide"? This problem seems so basic that I thought surely
someone must have hit this problem (and hopefully solved it) before.
Anyway, thanks again - I do appreciate the help so far.
Dave
"Manohar Kamath" wrote:
> I guess you are using the /server option when you are creating your proxy
> class. It will create an abstract class. If you exclude it, you will get a
> concrete class.
>
> wsdl http://myhost/mywebservice.asmx?wsdl
>
>
> --
> Manohar Kamath
> Editor, .netWire
> www.dotnetwire.com
- Next message: drb: "Re: abstract class overriding?"
- Previous message: Peter Schmitz: "General question"
- In reply to: Manohar Kamath: "Re: abstract class overriding?"
- Next in thread: drb: "Re: abstract class overriding?"
- Reply: drb: "Re: abstract class overriding?"
- Reply: Manohar Kamath: "Re: abstract class overriding?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|