wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTTP & Webservices

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is correct about XML Messaging layer in Web Service Protocol Stack?

a)

This layer is responsible for encoding messages in a common XML format so that messages can be understood at either end.

b)

Currently, this layer includes XML-RPC and SOAP.

c)

both the statements are correct

d)

none of the statements are true

2.

Web Services are

a)

Neither Loosely or Tightly Coupled

b)

loosely coupled

c)

tightly coupled

3.

What does SOAP define?

a)

The overall structure of the XML message

b)

The conventions representing the remote procedure call in the XML message

c)

A binding to HTTP

d)

The type of client to be used

e)

The conventions to wrap and send an error back to the sender

4.

What is the purpose and format of URI in REST architecture?

4 lines
5.

Which of the following role of web service architecture implements the service and makes it available on the Internet?

a)

Service Provider

b)

Service Requestor

c)

Service Registry

d)

None of the above

6.

Which component of Web Services does not acts as a directory?

a)

UDDI

b)

SOAP

c)

WSDL

d)

XML

7.

What are the web service platform elements?

a)

SOAP, UDDI, HTTP

b)

HTTP, WSDL

c)

UDDI, XML, SOAP

d)

SOAP, UDDI, WSDL

8.

Which of the following component of HTTP response indicates server status for the requested resource?

a)

Status/Response Code

b)

HTTP Version

c)

Response Header

d)

Response Body

9.

Which of the following HTTP Status code means CREATED, when a resource is successful created using POST or PUT request?

a)

200

b)

201

c)

204

d)

304

10.

What is the response code to delete a resource?

a)

205

b)

204

c)

206

d)

203

11.

what is called as safe method?

a)

POST

b)

GET

c)

PUT

d)

DELETE

12.

What is NOT a part of a SOAP Message ?

a)

SOAP body

b)

SOAP envelope

c)

SOAP header

d)

SOAP footer

13.

Select the communication channels NOT use in a web service?

a)

HTTP/POST

b)

MIME

c)

HTTP/GET

d)

SOAP

14.

What UDDI means?

a)

Universal Definition Discovery and Integration

b)

Universal Definition Display and Integration

c)

Universal Description Discovery and Integration

d)

Universal Discovery Description and Integration

15.

What does status code 403 mean?

a)

The request could not be understood by the server due to malformed syntax.

b)

The server understood the request, but is refusing to fulfill it.

c)

The server has not found anything matching the Request-URI

d)

The request requires user authentication