Web Service connection

Posted on 2012-08-21
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

    LVL 35

    Accepted Solution

    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

    Great resources

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now