com.WebService.generateWSDL

Creates an xml.DomDocument object with the WSDL corresponding to the Web Service object.

Syntax

generateWSDL(
   location STRING )
  RETURNS xml.DomDocument
  1. location defines the URL where the Web Service will be deployed.

Usage

The generateWSDL() method creates a new xml.DomDocument object containing the WSDL data of the Web Service object.

The URL where the Web Service will be deployed must be specified.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).