/** {@inheritdoc} */
 public function send($endpoint, $payload)
 {
     try {
         $response = $this->httpAdapter->post($endpoint, ['Content-Type' => 'text/xml; charset=UTF-8'], $payload);
     } catch (HttpAdapterException $e) {
         throw TransportException::transportError($e);
     }
     if ($response->getStatusCode() !== 200) {
         throw HttpException::httpError($response->getReasonPhrase(), $response->getStatusCode());
     }
     return (string) $response->getBody();
 }