com.WebOperation.setOutputEncoded

Defines the encoding mechanism for Web Operation output parameters.

Syntax

setOutputEncoded(
   val INTEGER  )
  1. val defines an integer value defining the encoding mechanism to be used.

Usage

When the parameter encoded is true (1), the SOAP Section 5 encoding mechanism is used, False (0) indicates the XML Schema mechanism.

The XML Schema mechanism (FALSE) is not recommended.

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