2.6 HTTP Message Format

EHI messages are HTTP 1.1 formatted, according to RFC 2616 and any superseding RFCs such as RFCs 7230 and RFC 7231.

2.6.1 Request Message

The outgoing request message is a HTTP/1.1 POST request. The header fields are specified below. The body data is the XML fields of the GetTransaction message or Cut-Off message. For details, see GetTransaction Message Fields and Cut_Off Messages.

2.6.2 Request Header Fields

Header

Content example

Status

Comment

host

192.168.51.16

Mandatory

IP of the sending host, set by the sending host (Thredd).

soapaction

"http://tempuri.org/Cut_Off"

Mandatory

Transport protocol header (either HTTP or JMS). It is transmitted with SOAP messages and provides information about the intention of the web service request, to the service. This field is applicable only for XML.

The double quotes are part of the data.

traceparent

00-c24a548a2883cf4aac38eb40410a5e5d-593f9603da624910-00

Optional

Identifies the incoming request in a tracing system. For details see the W3.org description of Traceparent Header.

content-type

application/xml

Mandatory

Indicates XML formatted content.

content-length

778

Mandatory

Length of the body in bytes.

Request Body Fields

For details, see GetTransaction Message Fields and Cut_Off Messages.

2.6.3 Response Message

The incoming response message is a valid HTTP/1.1 response. The header fields are specified below, and the body data is the XML data of either the GetTransaction response or the Cut_Off response. For details, see GetTransaction Message Fields and Cut_Off Messages.

2.6.4 Response Header Fields

Header

Content example

Status

Comment

host

192.168.51.16

Mandatory

IP of the sending host, set by the sending host (Program Manager systems).

soapaction

"http://tempuri.org/Cut_Off"

Mandatory

Transport protocol header (either HTTP or JMS). It is transmitted with SOAP messages and provides information about the intention of the web service request, to the service. This field is applicable only for XML.

The double quotes are part of the data.

traceparent

00-c24a548a2883cf4aac38eb40410a5e5d-593f9603da624910-00

Optional

Identifies the incoming request in a tracing system. For details see the W3.org description of Traceparent Header.

content-type

application/xml

Mandatory

Indicates XML formatted content.

content-length

778

Mandatory

Length of the body in bytes.

other items

Various

Optional

Other standard headers permitted in the HTTP/1.1 as valid for the response may be included.

Response Body Fields

For details, see For details, see GetTransaction Message Fields and Cut_Off Messages.