Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2006

Tip: Looking for answers? Try searching our database.

Partial proxy class Visual Studio 2005/C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
roberto - 03 Oct 2006 08:44 GMT
While adding a web service reference to a project there are no C#
classes generated in the design time. This makes extending a web
service quite complicated because when I try to add a partial class the
program stops to compile.

I know it can be done by removing a web reference and generating the
proxy class manually - then extending it, but it denies automatic
project management of VS 2005 (as the web reference has to be updated
quite often).

So may be there is another way of extending a web proxy? What I need is
to overwrite GetWebRequest so it sets KeepAlive to false (I'm dealing
with "established connection has beed closed issue").

Any suggestions? Thanks!
John Saunders - 03 Oct 2006 15:45 GMT
> While adding a web service reference to a project there are no C#
> classes generated in the design time. This makes extending a web
[quoted text clipped - 11 lines]
>
> Any suggestions? Thanks!

Is the proxy class sealed? Can you inherit from it?

John

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.