The WebService class / com.WebServices methods |
Defines the header for the Web Service object.
createHeader( header header-type, encoded BOOLEAN )
The createHeader() method creates a global header for the current Web Service object.
The Web Service header is defined by the first parameter. This will define SOAP headers exchanged by the client and server.
When encoded is TRUE, the SOAP Section 5 encoding mechanism will be used. If FALSE, the XML Schema mechanism will be used.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.