com.WebService.saveWSDL

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

Syntax

saveWSDL(
   location STRING )
  RETURNS INTEGER
  1. location defines 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.

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).