on 02-15-2017 12:44 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.