Show TOC

HTTP Client Output AdapterLocate this document in the navigation structure

The HTTP Client Output adapter sends data to an HTTP server using HTTP POST.

The adapter sends an HTTP POST request for every event in the stream to which it is attached. Specify the content of the HTTP request message body either in the adapter configuration or configure the adapter to obtain the message body content from a column in the attached stream. The adapter supports connecting to a proxy server, as well as HTTP basic authentication (user name/password). The URL for the HTTP server, user name, and password can be configured in a similar way to the message body content.

The adapter also supports HTTPS. To use HTTPS, ensure:
  • The provided URL starts with "https://..." instead of "http://...".
  • The HTTP server is using an SSL certificate that is trusted by the client. You may need to add the server's certificate to the Java CA certificates (cacerts) store using the Java "keytool" command. For example,
    keytool -import -noprompt -trustcacerts -alias <AliasName> -file <certificate> -keystore <KeystoreFile> -storepass <Password>
    Note that keytool is located in %STREAMING_HOME%\lib\jre\bin, <KeystoreFile> is located in %STREAMING_HOME%\lib\jre\lib\security\cacerts, and the default value for the <Password> is changeit.
See the Oracle Sun Java documentation for additional information regarding the cacerts file and keytool command. Once the certificate has been added, the adapter can connect to the HTTP server using HTTPS.

Commands specified in the cnxml file for this adapter cannot contain the following strings: "mv", "rm", or "del".

This adapter can run in managed or unmanaged mode.

Managed external adapters:
  • Are started and stopped by the ESP server with ESP projects.
  • Have a cnxml adapter configuration file that is configured within SAP Event Stream Processor Studio.
  • Are referenced in a CCL ATTACH ADAPTER statement.
Unmanaged external adapters:
  • Start and stop independently of the ESP server and ESP projects.
  • Are configured independently.
  • Are not referenced in a CCL ATTACH ADAPTER statement.