Compartilhar via


<wsdlHelpGenerator> Element

Specifies the XML Web service Help page (an .aspx file) that is displayed to a browser when the browser navigates directly to an ASMX XML Web services page.

<configuration>
   <system.Web>
      <webServices>
         <wsdlHelpGenerator>

<wsdlHelpGenerator href="path.aspx"/>

Required Attribute

Attribute Description
href The file path to the Help page.

Remarks

You can create your own Help page containing images and text for your XML Web service application. The following code example is an excerpt from a Web.config file that sets the Help page to a custom MyServiceHelpPage.aspx file in the docs folder beneath the folder containing the main application files and the Web.config file.

The value of href is a file path, not a URL. The file path can be relative or absolute. If it is relative, it is relative to the location of the configuration file.

Example

<configuration>
   <system.web>
      <webServices>
         <wsdlHelpGenerator href="docs/MyServiceHelpPage.aspx"/>
      </webServices>
   </system.web>
</configuration>

Requirements

Contained Within: <system.web>

Web Platform: IIS 5.0, IIS 5.1, IIS 6.0

Configuration File: Machine.config, Web.config

Configuration Section Handler: System.Web.Services.Configuration.WebServicesConfigurationSectionHandler

See Also

<webServices> Element | XML Web Services Created Using ASP.NET and XML Web Service Clients | ASP.NET Configuration | ASP.NET Settings Schema