How to create a webservice in servicenow

navyag
Kilo Contributor

Hi Team

How to create my own webservice in servicenow with custom functions ( to insert and update the incidents ).

Thanks

7 REPLIES 7

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 .


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


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