Module 7.2 Flashcards

1
Q

This allows diverse applications to talk to each other. ServiceNow supports both inbound (provider) and outbound web service (consumer) services

A

HTTP based Web Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Web services are a web based method allowing applications to connect to other software applications over a what?

A

A network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Web services allows the exchange of information between services providers and who else?

A

Service consumers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Consuming a web service means a web service user can interact with what?

A

A published web service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Based on the wsdl, definition and security restrictions, ______ can create, read, update, or delete records

A

Consumers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Doing this to a web services means enabling a web service user (consumer) to locate the service description

A

Publishing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This is who instructs the consumer how they should interact with the web service

A

Publisher

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Consuming a 3rd party web service from ServiceNow can be accomplished by doing what?

A

Creating a new outbound REST message

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This is who invokes/ consumes published web services

A

Consumer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Servicenow can invoke a _________ from multiple areas within the platform including business rules, ui actions, client scripts, workflows, and flow designer

A

Web service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Publishing a web service in ServiceNow that can be consumed by a 3rd party can be accomplished by creating what?

A

By creating a new inbound web service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This is who publishes web services for clients to invoke (consume)

A

Publisher

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

As a web service provider, the now platform supports publishing access (input and query) to its underlying table structures and their associated data via what?

A

Direct web services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A less direct, input only mechanism is available via web service import sets which invokes data mapping using what?

A

Transform maps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Scripted web services is available for developing custom web services that are executed in what?

A

JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The url of the data to be retrieved, updated, or deleted with a rest message

A

End point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are the authentication type options for a rest message?

A

None, basic, or oauth 2.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Do rest messages have applications scopes?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the steps to configure a web services consumer?

A

In studio create a new application file type of REST message
Configure the REST message
Submit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

When configuring a rest message, selecting this establishes trust by exchanging secure socket layer (SSL) certificates

A

Use manual authentication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Are rest messages reusable in business rules, email notifications, and other server side scripts?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

This is used to develop, prototype, and save outbound REST messages

A

Rest message form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

After saving a new rest message, what becomes available?

A

The http methods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Http methods do not appear on the rest message form until what happens?

A

The record is saved for the first time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
This is what is used to retrieve, update, create, and delete data at the end point
Http methods
26
User has to be authorized to access data with http methods (t/f)
True
27
When examining parameters for an endpoint, in order to understand what information a web service provider expects, you must do what?
Read the provider’s documentation and provide values for the required variables
28
When giving values to REST message functions the value must be enclosed with what?
${}
29
When providing a name value to match a variable from the endpoint api documentation. Make sure not to include what and why?
The equal sign because it will be automatically inserted at runtime
30
How do you give values to rest message functions?
Add variables to the http query parameters
31
Where do you go to configure a rest message http query parameter?
In the rest message select the http method of interest , in the http request section, scroll to the http query parameters section
32
Before testing a rest message function, what must be done?
The variable substitutions must be configured
33
There must be a variable substitution for all required http query parameters (t/f)
True
34
What do you select to test/post a rest message function?
Test in related links
35
A http status of ___ indicates that a rest message post was successful but does not mean the expected results were returned.
200
36
After testing a rest message, this field shows the variables passed at the end of the endpoint (you may have to increase the field size to see all parameters and values)
The parameters field
37
A rest message post http status of 200 indicates a connection was made but you should always check what to verify you received what was expected?
The results
38
Click this related link to have server side code stub generated automatically
Preview script usage
39
Does preview usage script extract variable values?
No; code stub posts only
40
Rest response can either be JSON or what?
XML
41
The rest response is extracted from where?
The returned data
42
You must understand structure of returned data in order to extract values from a rest response (t/f)
True
43
This script include is accessible from all application scopes. It contains methods for working with JSON data
JSON script include
44
Can servicenow tables be web service providers?
Yes
45
The “allow access to this table via web services” option is only selectable if the accessible from option value is what?
All application scopes
46
Application access enables/ disables web service access (t/f)
True
47
Creates endpoints, methods, and variables used to send REST requests to a Servicenow instance
REST API Explorer
48
Why shouldn’t you practice with the REST API explorer on a production instance?
The rest api interacts with records in the servicenow instance database
49
How do you get to the rest api explorer?
System web services> rest> rest api explorer
50
What is the default api in the rest api explorer?
The table api
51
This api from the rest api explorer allows you to query, create, update, and delete a table’s records. You cannot change the instance when exploring but can from a script.
The table api
52
Configure endpoint variables using what?
Query parameters
53
What should you select before configuring query parameters?
The database operation
54
For complex queries, what should you use on a table’s list to build the query?
The filter builder
55
After running a query from the filter builder on a table’s list, right click on the breadcrumbs and select copy query. What’s next?
Paste the query into the sysparm_query field
56
The query parameters depend on what?
The database operation being performed
57
Select this button at the bottom of the rest api explorer to test the web service
Send
58
Results from testing the web service in the rest api explorer appear where?
At the bottom of the form
59
The response from testing the web service in the rest api explorer is returned in what format?
The format specified in the configuration parameters
60
This creates stub code for using rest to interact with servicenow tables
The rest api explorer
61
The stub code created by the rest api explorer does not extract information from the web service response. Application developers will have to do what?
Write the code for processing the response
62
Use which button to copy the script in the rest api explorer. Do not use your mouse to highlight the script and copy as that can cause character substitution for some special characters
Select snippet button
63
Selecting this prevents users from logging into the servicenow user interface
Web service access only
64
This option is used to bypass the web services security (wss) system property setting
Internal integration user option
65
When posting from an email notification enclose script in what tags?
66
Print values to an email notification with what method?
template.print()
67
There is no ability to syntax check a script in the email notification message field. Instead develop your script in a ________ and copy it to the email notification after testing.
Business rule
68
Remember to change any gs.info() gs.debug() gs.warning() gs.error() method calls to what method in the email notification?
template.print()
69
Are scripts stored in notifications?
No
70
Required syntax for notification scripts are automatically inserted (t/f)
True
71
Are notification scripts reusable?
Yes
72
To view or modify notification scripts where do you go?
System notification > email > notification email scripts
73
There are no mechanisms for testing email scripts other than what?
Generating an email
74
To speed up development and debugging, it is recommended to develop notification email scripts first as _________ to allow easy testing
Business rules