Outgoing connections - Plain HTTP

Overview

Used to create, update, delete and browse through outgoing plain HTTP connections.

A plain HTTP connection is a means to synchronously invoke HTTP resources. Contrary to what SOAP connections assume, plain HTTP ones don’t except the data to be send in any particular format, it can be anything that can be transferred over HTTP, including JSON, CSV, XML or virtually anything.

../../_images/plain-http1.png

Create and Edit

../../_images/plain-http-create.png
Header Notes
Name Connection name
Active

Whether the connection can be used by services or not.

If a connection is not active a service will encounter a zato.common.Inactive exception when attempting to use it.

Note that an inactive connection still can be pinged.

Host HTTP server’s host, may include a port
URL path Path a resource to be invoked is mounted on
Security

Name of a security definition - HTTP Basic Auth, technical account or a WS-Security definition - to use for accessing the resource.

Pick ‘No security’ explicitly to indicate that no such definition should be used.

Ping

../../_images/plain-http-ping.png

A connection can be pinged - this sends an HTTP HEAD request from one of a cluster’s servers to a location specified by the connection’s definition. This can be used to check whether a given resource is reachable by Zato servers.

The feature is available even if a connection is inactive.