ServiceDescription.TargetNamespace Property

 

Gets or sets the XML targetNamespace attribute of the descriptions tag enclosing a Web Services Description Language (WSDL) file.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Property TargetNamespace As String

Property Value

Type: System.String

The URL of the XML Web service described by the ServiceDescription.

' Read a ServiceDescription from existing WSDL.
Dim myServiceDescription As ServiceDescription = _
   ServiceDescription.Read("Input.vb.wsdl")
myServiceDescription.TargetNamespace = "http://tempuri.org/"

.NET Framework
Available since 1.1
Return to top
Show: