Skip to main content

Namespace

The elements used to configure an HTTP client are defined in the namespace http://cxf.apache.org/transports/http/configuration" . It is commonly referred to using the prefix http-conf . In order to use the HTTP configuration elements you will need to add the lines shown below to the beans element of your endpoint's configuration file. In addition, you will need to add the configuration elements' namespace to the xsi:schemaLocation attribute.

HTTP Consumer Configuration Namespace

<beans ...
   xmlns:http-conf=
      "http://cxf.apache.org/transports/http/configuration
      ...
      xsi:schemaLocation="...
          http://cxf.apache.org/transports/http/configuration
          http://cxf.apache.org/schemas/configuration/http-conf.xsd
          ...">

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!