Add a custom header

A custom header consists of a name-value pair, such as Host: localhost, where Host is the name, and localhost is the value. All web services, RESTful, RESTful Open API, SOAP, and SOAP WCF support custom headers.

When creating a Web service reference, you can specify custom headers so that the custom header is passed to the third-party web service when the corresponding Web service or RESTful node is executed.

  1. On the Web service references page, select the web service reference.

    The Edit web service reference dialog box is displayed.

  2. Select for Custom header.
  3. Enter a Name, such as Host.
  4. Enter a Value, such as localhost.
  5. Select Add.