SOAP Scripted webservice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2016 06:32 AM
I have been trying to create the simple Scripted web service, to use it in Outbound SOAP.
let say for example, if I pass a nodename in request, the reponse should have the text 'Nodename is reachable'
but not able to achieve as I got the below error when try to test from the outbound soap.
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>com.glide.processors.soap.SOAPProcessingException: Insufficient rights to invoke script</faultstring>
<detail>com.glide.processors.soap.SOAPProcessingException: Insufficient rights to invoke script</detail>
</SOAP-ENV:Fault>
but if I use the example scripted webservice 'InstanceInfo' in outbound SOAP, able to test it successfully, got the response without any issues.
not sure what is missing, I assigned all Soap roles to my userid. is it something wrong with the scripted webservice?
can anyone please help me. possible please share the script for scripted webservice.
Thanks,
Chandran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2016 06:57 AM
Hi,
Please provide web_service_admin role and then try.
Please mark correct if helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2016 07:58 AM
Tried with tat option but Still the same issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2016 11:30 AM
Hi Chandran,
glide.soap.strict_security is turned on by default in instance so for doing scripted services you would need soap_script role. Apart from this, you can also check if you are having the soap access to table or operation access to the table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2016 01:09 AM
the inbound and outbound both are servicenow instances?