Consume asmx web service from HTML5 page

how to do i consume .net web service deployed the server from HTML5 application on Smart Badge?