Lucee Function Reference

Function ADDSOAPRESPONSEHEADER

Adds a SOAP response header to a web service response. Call only from within a CFC web service function that is processing a request as a SOAP web service.

Example

addsoapresponseheader(string namespace,string name,object value,[boolean mustUnderstand]):boolean

Category

webservice

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
namespace string  Yes A String that is the namespace for the header.  
name string  Yes A String that is the name of the header  
value object  Yes the value for the SOAP header; this can be a XML value.  
mustUnderstand boolean  No Sets the SOAP mustunderstand value for this header.