Skip to Content

SAP BODS WebServices "UnSupported Media Type"

Hello All,

We are using Web Services REST in BODS, When we are trying to execute the jobs in BODS, We are facing the Unsupported Media types Error.

In SOAPUI we are generating WADL for Rest services and JSON is our data format and media Type="application/json".

Presently we are using SAP Data Services 4.2 SP4.

Below is the screenshot of Error.

Thanks

sdn-error.jpg (96.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Feb 15, 2017 at 01:36 PM

    Hi

    Please check below mentioned sap note if that helps.

    1927010 - Error "415 Unsupported media type" while logging in to BI 4.0 using RESTful web services

    ************

    1. Add the following in the Headers section of the Request:

    Content-Type: application/xml

    2. After adding the above, run the url.

    ************

    Regards

    Prithviraj

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 25, 2017 at 02:43 PM

    Hi Prithviraj,

    Sap Notes doesn`t help because we are getting Request and Response in JSON in SOAPUI.

    So the content type will be always Application/JSON only. If we change to XML we are unable to generate WADL file.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 20, 2017 at 01:54 PM

    Hi Prithvira,

    Still we are facing the same issue, Our Content type is JSON not XML, If we change to XML in SOAPUI we are unable to

    generate the Response for request,

    We are getting request and response in JSON in SOAPUI...

    Add comment
    10|10000 characters needed characters exceeded