# Calling web service from html

**URL:** <https://forum.kirupa.com/t/calling-web-service-from-html/324921>\
**Category:** web dev\
**Created:** [September 16, 2011, 3:59am UTC](https://forum.kirupa.com/t/calling-web-service-from-html/324921 "2011-09-16T03:59:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lehman4oyw0l](https://avatars.discourse-cdn.com/v4/letter/l/f04885/32.png) [@lehman4oyw0l](https://forum.kirupa.com/u/lehman4oyw0l)\
**Post date:** [September 16, 2011, 3:59am UTC](https://forum.kirupa.com/t/calling-web-service-from-html/324921/1 "2011-09-16T03:59:52Z")

</div>

I have a wcf web service hosted at discountasp. It is working fine in silverlight and from VS, but I would like to run a scheduler to trigger a particular function once a week.

I believe it can be done by calling my service from html using some javascript for help but I havent been able to get any of the examples I looked at working.

Any advice on how to accomplish this?

Can the scheduler call directly into and trigger a service method?

thanks
