# Request document returns HTTP/1.1 415

**URL:** <https://techcommunity.softwareag.com/t/request-document-returns-http-1-1-415/188192>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Web-and-XML-Technology\
**Created:** [April 28, 2016, 2:52pm UTC](https://techcommunity.softwareag.com/t/request-document-returns-http-1-1-415/188192 "2016-04-28T14:52:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garth\_Endacott](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Garth\_Endacott](https://techcommunity.softwareag.com/u/Garth_Endacott)\
**Post date:** [April 28, 2016, 2:52pm UTC](https://techcommunity.softwareag.com/t/request-document-returns-http-1-1-415/188192/1 "2016-04-28T14:52:14Z")

</div>

Good afternoon all,

I have a strange response coming from a webservice I’m trying to consume from Natural over https.

"HTTP/1.1 415 Cannot process the message because the content type ‘application/octet-stream’ was not the expected type ‘text/xml; charset=utf-8’

In attempting to debug this, I have created a web service client in java/Glassfish and the first time I call the service, glassfish asks permission to install three goDaddy certificates (I assume a client,intermediary and server cert), thereafter the call works.

I suspect this is why I am receiving an octet-stream error in Natural, since the certificate chain fails. How would I link these certificates in the natural kernel, or, which options can I specify on the request document statement, in order to make this work?

Thanks for your attention  
Garth

Natural 6.3.4.0 on AIX

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:35pm UTC](https://techcommunity.softwareag.com/t/request-document-returns-http-1-1-415/188192/2 "2021-04-02T15:35:56Z")

</div>


