setHeader

Specifies an HTTP header.


            setHeader (headerName, headerValue)
         

Parameters

headerName

String of characters which is the name of the HTTP header.

headerValue

String of characters which is the content of the HTTP header.

Return value

None.

Remarks

Les en-t锚tes ainsi sp茅cifi茅s pr茅valent sur les en-t锚tes par d茅faut lors des appels SOAP. Exemple :

      var cnx = new HttpSoapConnection("http://localhost/test/Service1.asmx");
var memBuf = new MemoryBuffer();
memBuf.fromString("rico:pass@word1")
cnx.setHeader("Authorization","Basic " + memBuf.toBase64());

Features

Method of class: HttpSoapConnection

Available in:

  • Content management
  • Delivery properties
  • Delivery message
  • Typology rule
  • Import
  • JSSP
  • SOAP Method
  • WebApp
  • Workflow