com.WebService.saveWSDL

Writes to a file the WSDL corresponding to the Web Service object.

Syntax

saveWSDL(
   location STRING )
  RETURNING result INTEGER
  1. location is the URL where the Web Service will be deployed.

Usage

The saveWSDL() method writes the WSDL data corresponding to the Web Service object.

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

The name of the file will be the name of the Web Service defined by the name parameter passed to the createWebService() or createStatefulWebService() methods.

The method returns 0 if the file was saved, -1 in case of error.