Developing a Static wsdl with different Method in it

Paramahanns
Tera Expert

Hello All,

I have the static WSDL defined. Also I have the scripted webservice defined. Can some one give a example where some body developed integration using the scripted webservices and Static wsdl.

I created one but I am not sure I am doing it correctly.

I created a execute scripted web services. And in the static added more methods like insert, Update, Delete. But when I post a transaction the response is not   received. Also I am doing a mistake.

Can some one reply back with an example..

Introduction to Static WSDLs in ServiceNow | John Andersen

I looked into this got few of the things.. But since I am trying this new I need you help to get this completed.

Please respond.

REgards

Param

1 ACCEPTED SOLUTION

Thanks. I just managed to send the response in the Advanced Scripting of the Scripted web services section and I got the response.



Regards


Param


View solution in original post

15 REPLIES 15

Dear Paramahanns,




I am trying doing the same thing by writting different if conditions like




if (nodeName == "insert") {


  return this.insertRec(funcNode);


}


  else if(nodeName == "update") {


  return this.insertRec(funcNode);


}


  else if(nodeName == "delete") {


  return this.insertRec(funcNode);


}




But this is not working for me, and the Scripted web services is failling before going to the script include.




Please let me know if i am doing anything wrong here.




Regards,


Akshay