cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BODS WebServices "UnSupported Media Type"

sap_bods999
Explorer
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

sap_bods999
Explorer
0 Kudos

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

sap_bods999
Explorer
0 Kudos

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...

Former Member
0 Kudos

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