The WebService class / com.WebServices methods |
Defines a feature for the current Web Service object.
setFeature( name STRING, value STRING )
The setFeature() method defines a feature for the current Web Service object by specifying a feature name and a value.
The features names are predefined. The second parameter must a a valid value for the specified feature.
Name | Description |
---|---|
Soap1.1 | Defines whether the Web Service supports the SOAP 1.1 protocol. Default value is FALSE. |
Soap1.2 | Defines whether the Web Service supports the SOAP 1.2 protocol. Default value is FALSE. |
WS-Addressing1.0 | Defines whether the Web Service supports WS-Addressing 1.0. Valid values include:
|
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).