Public Class myWebPage Inherits System.Web.UI.Page Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Existing web page code goes here ' ' ' 'Define the web service in the project, instantiate the web service, and call the cache procedure Dim myWebService = New my_web_service.scheduledTaskService myWebService.Timeout = 2 Try myWebService.cacheProcedure() Catch ex As Exception End Try End Sub End Class