Adds a SOAP header to a web service request before making the request.
addSOAPRequestHeader(webservice, namespace, name, value, mustUnderstand)
→ returns boolean
false
true
/ws = createObject("webservice", "http://localhost/soapheaders/headerservice.cfc?WSDL");
addSOAPRequestHeader(ws, "http://mynamespace/", "username", "tom", false);
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.