Skip to Content
0

SAP BODS WebServices "UnSupported Media Type"

Feb 15, 2017 at 12:44 PM

164

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Prithviraj Rajpurohit Feb 15, 2017 at 01:36 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
sapbods sap Feb 25, 2017 at 02:43 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
sapbods sap Feb 20, 2017 at 01:54 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded