namespace?
- From: cj <cj@xxxxxxxxxxxxx>
- Date: Fri, 11 Jan 2008 15:07:05 -0500
What does the line
<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
do in the example below?
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel
' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
' <System.Web.Script.Services.ScriptService()> _
<System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class Service1
Inherits System.Web.Services.WebService
<WebMethod()> _
Public Function HelloWorld() As String
Return "Hello World"
End Function
End Class
And why don't I see a similar line in the C# example at
http://dotnetjunkies.com/Tutorial/4D13CEFA-D0FD-44BE-8749-8D17B5757564.dcik
?
.
- Follow-Ups:
- RE: namespace?
- From: Steven Cheng[MSFT]
- Re: namespace?
- From: Scott M.
- RE: namespace?
- Prev by Date: help understand C# example for use in my VB web service
- Next by Date: Re: help understand C# example for use in my VB web service
- Previous by thread: help understand C# example for use in my VB web service
- Next by thread: Re: namespace?
- Index(es):
Relevant Pages
|
Loading