Calling a webservice via ASP.Net
- From: "unwantedspam" <unwantedspam@xxxxxxxxx>
- Date: 23 Nov 2005 06:37:08 -0800
Hi,
I am trying to write my first web service. I have the following code:
Imports System.Web.Services
Public Class Service1
Inherits System.Web.Services.WebService
Private _ErrorText As String
<WebMethod()> Public Function Verify(ByVal UserName As String,
ByVal Password As String) As Boolean
'Do user verification stuff here.
End Function
<WebMethod()> Public Function ErrorMsg() As String
Return _ErrorText
End Function
End Class
This works fine. I am trying to write an ASP.Net application in
notepad. How do I go about calling the webservice? Also, is there a way
to have public readonly properties that are accessable via an ASP.Net
page in the webservice.
Thanks
.
- Follow-Ups:
- Re: Calling a webservice via ASP.Net
- From: richard . hein
- Re: Calling a webservice via ASP.Net
- From: richard . hein
- Re: Calling a webservice via ASP.Net
- Prev by Date: streaming binary data from sql 2005
- Next by Date: Re: SQL connection works in forms application, but not asp.net_
- Previous by thread: streaming binary data from sql 2005
- Next by thread: Re: Calling a webservice via ASP.Net
- Index(es):
Relevant Pages
|