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 / December 2005

Tip: Looking for answers? Try searching our database.

Failover

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon - 30 Nov 2005 22:25 GMT
I want to add failover capability to my web service.

Is it possible to specify two possible URLs for a service (eg have
server1.com/service.asmx and server2.com/service.asmx and the client selects
on or the other)

Should I be looking at WS-Addressing for this. Does anyone have a link for
more info?

Thanks
Jon
DC - 01 Dec 2005 03:06 GMT
what you can do is build intelligence into your client-side proxies, so that
they walk through a list of web service URLs (maybe read in from app.config)
and use the first one that works.   They retry after a backoff interval,
etc.

most people just run wsdl.exe and generate a client-side proxy and they're
done.  There's nothing wrong with modifying the generated code to do
something more intelligent.  That's what I'm suggesting here.

I don't know of anything automated for this, but it shouldn't be too hard to
write it.

-D

>I want to add failover capability to my web service.
>
[quoted text clipped - 7 lines]
> Thanks
> Jon
Jon - 02 Dec 2005 22:23 GMT
Thanks mate. I think thats the way I will go.

Jon

> what you can do is build intelligence into your client-side proxies, so
> that they walk through a list of web service URLs (maybe read in from
[quoted text clipped - 21 lines]
>> Thanks
>> Jon

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



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