DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 19 Jul 2007 05:54:02 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    AVL
          2    Steve B. _swap


web services   
hi,
i need to check the availability of my web service....
how can i do that.
i dont want to call any of the methods present in web service to test 
availability..
i just want to ping to the web service....how can i do that....
Date:Thu, 19 Jul 2007 05:54:02 -0700   Author:  

Re: web services   
put a empty file in the web application, and try to download it using 
WebClient or HttpWebRequest.
you can check the Http Status code to see what happens :

200: OK
401: not authorized
404: not found,
etc...

You can also setup the web.config to allow anonymous access to this file 
only, if you don't want to pass credentials just for ping.

Steve

"AVL"  wrote in message 
news:5D7610CF-D08E-4EF2-97C3-6083DA82361C@microsoft.com...

> hi,
> i need to check the availability of my web service....
> how can i do that.
> i dont want to call any of the methods present in web service to test
> availability..
> i just want to ping to the web service....how can i do that....
> 
Date:Thu, 19 Jul 2007 15:15:48 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us