Lucee Function Reference

Function ADDSOAPREQUESTHEADER

Adds a SOAP header to a web service request before making the request.

Example

addsoaprequestheader(object webservice,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
webservice object  Yes A web service object as returned from the cfobject tag or the CreateObject function.  
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 CFML XML value.  
mustUnderstand boolean  No Sets the SOAP mustunderstand value for this header.