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
Q

This is what is used to retrieve, update, create, and delete data at the end point

A

Http methods

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

User has to be authorized to access data with http methods (t/f)

A

True

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

When examining parameters for an endpoint, in order to understand what information a web service provider expects, you must do what?

A

Read the provider’s documentation and provide values for the required variables

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

When giving values to REST message functions the value must be enclosed with what?

A

${}

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

When providing a name value to match a variable from the endpoint api documentation. Make sure not to include what and why?

A

The equal sign because it will be automatically inserted at runtime

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

How do you give values to rest message functions?

A

Add variables to the http query parameters

31
Q

Where do you go to configure a rest message http query parameter?

A

In the rest message select the http method of interest , in the http request section, scroll to the http query parameters section

32
Q

Before testing a rest message function, what must be done?

A

The variable substitutions must be configured

33
Q

There must be a variable substitution for all required http query parameters (t/f)

A

True

34
Q

What do you select to test/post a rest message function?

A

Test in related links

35
Q

A http status of ___ indicates that a rest message post was successful but does not mean the expected results were returned.

A

200

36
Q

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)

A

The parameters field

37
Q

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?

A

The results

38
Q

Click this related link to have server side code stub generated automatically

A

Preview script usage

39
Q

Does preview usage script extract variable values?

A

No; code stub posts only

40
Q

Rest response can either be JSON or what?

A

XML

41
Q

The rest response is extracted from where?

A

The returned data

42
Q

You must understand structure of returned data in order to extract values from a rest response (t/f)

A

True

43
Q

This script include is accessible from all application scopes. It contains methods for working with JSON data

A

JSON script include

44
Q

Can servicenow tables be web service providers?

A

Yes

45
Q

The “allow access to this table via web services” option is only selectable if the accessible from option value is what?

A

All application scopes

46
Q

Application access enables/ disables web service access (t/f)

A

True

47
Q

Creates endpoints, methods, and variables used to send REST requests to a Servicenow instance

A

REST API Explorer

48
Q

Why shouldn’t you practice with the REST API explorer on a production instance?

A

The rest api interacts with records in the servicenow instance database

49
Q

How do you get to the rest api explorer?

A

System web services> rest> rest api explorer

50
Q

What is the default api in the rest api explorer?

A

The table api

51
Q

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.

A

The table api

52
Q

Configure endpoint variables using what?

A

Query parameters

53
Q

What should you select before configuring query parameters?

A

The database operation

54
Q

For complex queries, what should you use on a table’s list to build the query?

A

The filter builder

55
Q

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?

A

Paste the query into the sysparm_query field

56
Q

The query parameters depend on what?

A

The database operation being performed

57
Q

Select this button at the bottom of the rest api explorer to test the web service

A

Send

58
Q

Results from testing the web service in the rest api explorer appear where?

A

At the bottom of the form

59
Q

The response from testing the web service in the rest api explorer is returned in what format?

A

The format specified in the configuration parameters

60
Q

This creates stub code for using rest to interact with servicenow tables

A

The rest api explorer

61
Q

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?

A

Write the code for processing the response

62
Q

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

A

Select snippet button

63
Q

Selecting this prevents users from logging into the servicenow user interface

A

Web service access only

64
Q

This option is used to bypass the web services security (wss) system property setting

A

Internal integration user option

65
Q

When posting from an email notification enclose script in what tags?

A

<mail_script> </mail_script>

66
Q

Print values to an email notification with what method?

A

template.print()

67
Q

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.

A

Business rule

68
Q

Remember to change any gs.info() gs.debug() gs.warning() gs.error() method calls to what method in the email notification?

A

template.print()

69
Q

Are scripts stored in notifications?

A

No

70
Q

Required syntax for notification scripts are automatically inserted (t/f)

A

True

71
Q

Are notification scripts reusable?

A

Yes

72
Q

To view or modify notification scripts where do you go?

A

System notification > email > notification email scripts

73
Q

There are no mechanisms for testing email scripts other than what?

A

Generating an email

74
Q

To speed up development and debugging, it is recommended to develop notification email scripts first as _________ to allow easy testing

A

Business rules