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...do a http get of the service, it should return the wsdl (which is
discovered by reflection). you could also add a ping method that did
more testing.
-- bruce (sqlwork.com)
AVL wrote:
Quote:
Originally Posted by
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...
>
Probably a HEAD request is the one that will return the least amount of
indication and still show that the service ASMX page is available.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
bogMetaFinder: http://www.blogmetafinder.com
"AVL" wrote:
Quote:
Originally Posted by
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...
>
Hi,
Peter Bromberg [C# MVP] wrote:
Quote:
Originally Posted by
Probably a HEAD request is the one that will return the least amount of
indication and still show that the service ASMX page is available.
-- Peter
I did an example of that some time ago for the JavaScript newsgroup:
http://www.galasoft-lb.ch/myjavascr...e/check-url.txt
demo here:
http://www.galasoft-lb.ch/myjavascript/IsUrlActive/
HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Hi again,
Laurent Bugnion, MVP wrote:
Quote:
Originally Posted by
Hi,
>
Peter Bromberg [C# MVP] wrote:
Quote:
Originally Posted by
>Probably a HEAD request is the one that will return the least amount
>of indication and still show that the service ASMX page is available.
>-- Peter
>
I did an example of that some time ago for the JavaScript newsgroup:
>
http://www.galasoft-lb.ch/myjavascr...e/check-url.txt
>
demo here:
http://www.galasoft-lb.ch/myjavascript/IsUrlActive/
Sorry, try rather that one:
http://www.galasoft.ch/myjavascript/IsUrlActive/
XmlHttpRequest can only ping the domain of origin for security reason.
galasoft-lb.ch and galasoft.ch are both pointing to the same server, BUT
the client doesn't know this, and throws an error when galasoft-lb.ch
tries to ping galasoft.ch...
Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
0 comments:
Post a Comment