[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Web Service connection

Posted on 2012-08-21
Medium Priority
Last Modified: 2012-08-22
We have a web site out on GoDaddy where folks post applications to our server through a Web Service

The web service itself is running on a Server at our location.

Running into some problems because this is a 24/7 business and when updates, backups etc are being run on our server (and reboots) then obviousely a Web Service data post can be interrupted.

Is there a way to test the Web Service connection, and if no reply...use a second Web Service?  

Or is there a better way?

I didn't design the system here..its something I inherited.

This is our connection
wcfService.Endpoint.Address = New System.ServiceModel.EndpointAddress(AppConfig("WebServiceIP"))
Question by:lrbrister
LVL 83

Expert Comment

ID: 38317715
LVL 36

Accepted Solution

Miguel Oz earned 2000 total points
ID: 38318637
You should deploy your server as load balance deployment:

Note: You can ping your server but it does not solve the issue of broken connection in the middle of web method execution if the web method fails. Your web methods should return whether it has been successful in running this method if not you need to retry running the method or log the failure.

Of course your web service needs to be scalable and you may need to modify your error handling to take this new scenario/usage into account

Author Closing Comment

ID: 38320350
Great resources

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 21 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question