Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » System Procedures » System procedures

sa_set_http_option system procedure Next Page

sa_set_soap_header system procedure


Permits the setting of SOAP headers for SOAP responses. This procedure is used within stored procedures called from SOAP web services.

Syntax

sa_set_soap_header(
fldname,
val
)

Arguments
Remarks

All SOAP header entries set with this procedure are serialized within the SOAP Header element when the SOAP response message is sent. A val of NULL is not serialized. If no header entries exist for a SOAP response, then an enclosing Header element, within the SOAP envelope, is not created.

Permissions

None

Side effects

None

See also
Example

The following example sets the SOAP header welcome to Hello:

sa_set_soap_header( 'welcome', '<welcome>Hello</welcome>' )