- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2018 06:19 AM
Hello Everyone,
I am trying to access one Endpoint through REST out bound message.
I am getting error 415 in my system.
When I try the same API and Request body in SOAP Ui , am getting result.
I am using PUT method here.
What could be the reason? Please suggest here.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2018 03:12 AM
Hi Swathi,
Here are the screenshots. I too have Outbound REST message created. It has functions.
I am referring headers for the function.
1) screenshot 1 is for rest message. you should see the http methods for this such as put, delete etc at the bottom
2) open the one which you are using example put method and add highlighted in bold
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2018 06:24 AM
Hi Swathi,
Are you giving the correct http parameters etc while using from ServiceNow?
Are you sending data properly in json format? Which format the 3rd party is requesting?
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2018 06:27 AM
Hi Ankur,
Thanks for reply.
There are no http parameters fro this WSDL and am using JSON format. 3rd party created REST service only.
am using the same format in SOAP UI to access end point..am getting response properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2018 06:31 AM
Hi Swathi,
So what difference you noted between those the consuming API from postman and from servicenow
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2018 06:33 AM
From Servicenow am getting error 415
where as in soap UI or postman am getting proper response.