SOAP API Response- HTTP 415 Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2019 08:31 AM
Hi all,
I was trying to hit an application through SOAP LogOn method, but i am getting response as "Method failed: (/services/BIDataService) with code: 415". I see that many posts are suggesting to add content type tag but i am not sure whether the below screen shot has right tag or not ?
When i tried to LogOn from SOAP UI, the response was successful and i can see my expected result.
What am i missing in the below code ??
Thanks!
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 02:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2019 07:27 PM
Q: whether the below screen shot has right tag or not ?
Suggestion: content-type tag is commented in the request. Please uncomment it and try to run it with proper content type values.
The HTTP 415 Unsupported Media Type
client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. Your request did hit the Server, so you dont need to assign a MidServer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2019 09:09 PM
Hi Aman.
I have tried with content-tag as well, but the output is still same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2019 05:32 AM