Urgent:How to Check availability of web service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nRk

    Urgent:How to Check availability of web service


    Hi,

    Is there any way to check the availability of a web service without
    including any extra web method?

    Thank & regards
    nRk
  • Cowboy \(Gregory A. Beamer\)

    #2
    Re: Urgent:How to Check availability of web service

    With web services it is pretty much

    a) it works
    b) it times out

    You can set up another web method, but it will still either work or time
    out.

    You can ping the server and see if it is up, but if ICMP response is off on
    the machine, it will look like it is down, even if it is not.

    If you have full control of the server, you can set up your own mechanism
    (service?) to query which services are up and which are down, if that is
    helpful.

    --
    Gregory A. Beamer
    MVP, MCP: +I, SE, SD, DBA

    Subscribe to my blog


    or just read it:


    *************** *************** *************** ****
    | Think outside the box!
    |
    *************** *************** *************** ****
    "nRk" <ramesh.nrk@gma il.comwrote in message
    news:9bc51ded-f0ac-496e-b2f8-3fe20c20c2a1@m1 g2000pre.google groups.com...
    >
    Hi,
    >
    Is there any way to check the availability of a web service without
    including any extra web method?
    >
    Thank & regards
    nRk

    Comment

    • nRk

      #3
      Re: Urgent:How to Check availability of web service

      On Apr 4, 8:35 pm, "Cowboy \(Gregory A. Beamer\)"
      <NoSpamMgbwo... @comcast.netNoS pamMwrote:
      With web services it is pretty much
      >
      a) it works
      b) it times out
      >
      You can set up another web method, but it will still either work or time
      out.
      >
      You can ping the server and see if it is up, but if ICMP response is off on
      the machine, it will look like it is down, even if it is not.
      >
      If you have full control of the server, you can set up your own mechanism
      (service?) to query which services are up and which are down, if that is
      helpful.
      >
      --
      Gregory A. Beamer
      MVP, MCP: +I, SE, SD, DBA
      >
      Subscribe to my bloghttp://gregorybeamer.s paces.live.com/lists/feed.rss
      >
      or just read it:http://gregorybeamer.spaces.live.com/
      >
      *************** *************** *************** ****
      | Think outside the box!
      |
      *************** *************** *************** ****"nRk" <ramesh....@gma il.comwrote in message
      >
      news:9bc51ded-f0ac-496e-b2f8-3fe20c20c2a1@m1 g2000pre.google groups.com...
      >
      >
      >
      Hi,
      >
      Is there any way to check the availability of a web service without
      including any extra web method?
      >
      Thank & regards
      nRk
      Hi

      Thanks for the early reply. I thinking about it.

      But even if i am not an authorized user also it throws Exception
      (WebException)
      and If webservice not available also throws exception (WebException). .

      thanks
      nRk

      Comment

      • =?ISO-8859-1?Q?Arne_Vajh=F8j?=

        #4
        Re: Urgent:How to Check availability of web service

        nRk wrote:
        Is there any way to check the availability of a web service without
        including any extra web method?
        I don't think you will gain much by doing something else
        than make the web service call and handle exceptions.

        Checks would suffer from:

        check OK
        service goes down
        real call

        and

        check fail
        service comes up
        does not do real call

        Arne

        Comment

        Working...