Permits the setting of SOAP headers for SOAP responses. This procedure is used within stored procedures called from SOAP web services.
sa_set_soap_header( fldname, val )
fldname Use this VARCHAR parameter to specify the header key, a unique string used to reference the given header entry (it need not be identical to the localname of the val).
val Use this VARCHAR parameter to specify the raw XML of a top level header entry and its children within the scope of a SOAP Header element.
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.
None
None
The following example sets the SOAP header welcome to Hello:
sa_set_soap_header( 'welcome', '<welcome>Hello</welcome>' ) |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |