How to create a webservice in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2016 06:49 AM
Hi Team
How to create my own webservice in servicenow with custom functions ( to insert and update the incidents ).
Thanks
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2016 11:29 PM
Hi Atul,
Thanks for reply, my requirement is i need to create a new webservice including wsdl which i need to create with new opeartions like insert and update .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2016 12:53 AM
HI,
Configure endpoint URL WSDL file in the SOAP messages module and click on the genarate sample soap message in related list.
Based on your Endpoint URL u can access the function available in it.
Using SOAP script u can access and pass the parameters.
Thanks,
Veeresh
Mark as correct, if it's helpfull
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2016 01:37 AM
Hi Navya,
You can create webservice for table in service now.
You just need to see the below link.
https://xxxx.service-now.com/incident.do?WSDL
above link is for incident table, once you will consume the webservice in third party application it will ask for basic authentication once you provide user and pass it will validate and it will show all the method which i have given earlier. Then you can perform the action as per your wish by just providing the input to the corresponding method.
Note: instancename/tablename.do?WSDL
Hope this will help you.
Regards,
Atul Kumar