You are on page 1of 11

XML WEBSERVICE WITH JAVA

Set 1
Q1. Two modules can be integrated in many different ways.
Which of the following are the requirements for successful
inter –modules communications ?

1. Standard set of rules for communication between the two


modules.

2. A standard language for communications be.[10]


A.2 B.3 C.4 D.1 (cau nay chon 1,2,3)

(oke) Q2. Which of the following are the requirements needed for
creating a web service?

1. Data representations in a standard format.


2. Common, extensible message format.
3. Common, extensible, service description language.
4. List of service provider and the service offered by
them.
5. Number of complanes having access rights.
6. Number of months that the application will be available.

A. 1,2,3,4,5,6
B. Only 1 and 6
C. Only 5 and 6
D. Only 3 and 4 chon
E. 2,3,4,5

(oke)Q3 The------------------ characteristic of a web service helps it to


be call by any other application program or another web service.
(1.0)

A. Accessing over the web


B. Service interface.
C. Registered in service registry
D. Support the loosely coupled applications.
(oke) Q4 : ……..is a light- weight protocol which is standard
messaging format over the web service communication [0.5]
A. HTTP

B. UUP

C. SOAP chon

D. Messaging Protocol

(oke)Q5. Which of the following are the advances of web service?

1. Traight business integration

2. Improved efficiency

3. Facilitates just –in- time integration


4. Slow Business Decisions [1.0s]

a. 1,2,3,4

b. 2,3,4

c. 1,2,3

d. 1 and 4

e. 2 and 3 chon

f. 1 and 2

(oke) Q6. Which of the following limitation is imposed on browser-


based client application when is calls a web service using GET and
POST operations?

1. Parameter passing is done in various URL encoding


forms
2. Support for simple inputs and outputs

3. Client invokes a web method and sends and receives


parameters from the method

4. It must run on high speed connection [1.0]


a. 2 sai

b. 1
c. 3

d. 4

(oke) Q7 What is the function of message component in a WSDL


file ?

1. Defines data types used by the service’s message (Types)


2. Specifies an input parameter to the operation using a
previously defined message (input)
3. Optionally specifies an error message returned from the
operation (fault)
4. Specifies the return value from the operation using a
previously defined message (sOutput)
5. Defined the data transferred by a web service operation
typically the name and the data type of input parameters and
return values [1]
A. 3 B.2 C. 4 D.1 E.6 F.5 chon
(oke) Q8. When a web service is consumed, a copy of the WSDL file
residing on Web server is copied onto the client. This WSDL file is
known as ………………[1.0]

A. WSDL File Proxy (chon)

B. Web service Proxy

C. Web service Copy

D. SWDL File Copy

E. Proxy

Q9. TCP/IP is a fundamental protocol that maintains the connection


and enables the transmission of packets over the network. TCP/IP
Identifies computer by ………..[0.5]
A. Computer Names

B. Locations

C. IP Address (chon)

D. Type of Network

E. Socket

(oke)Q10. What is the function of HTTP?

1. Transmits HTML pages and is a text- based


protocol (chon) +

2. Verifies the correct delivery of data from client


to server

3. Moves a packet of data from node to node

4. Communicates the existence of a session [0.5]

a. 2

b. 1

c. 4

d. 3

Q11. After checking the coherency of the XML document, the XML
parser sends the SOAP message using HTTP, this is known
as……………………[0.5]

a. SOAP Response

b. SOAP Request (chon)

c. Coherent Request

d. SOAP Document

(oke) Q12. What is the purpose of registering the web service on the
internet?
1. Logging the users of the web service

2. To identity and share the services (chon)

3. To track the users of the web service

4. To track the operations of the web service [0.5]

a. 1

b. 2 chon

c. 3

d. 4

(Oke)Q13There are many fields in a tModel………………..can be used


to record identific action numbers for tModels [0.5]

A. identifierList

B. identifierBag (chon)

C. identifierContainer

D. categoryBag

Set2:
Q2. The …………………characteristic to be accessed by other programs [1.0]

a. Accessing over the web

b. Service Interface

c. Registered in Service Registry (chon)

d. Support of loosely coupled application

(oke)Q3. The generic architecture of a web service has different layer-------- maps
directly to operations expose by the web service. (1.0)
A. Listener layer.
B. Data layer
C. Data access layer.
D. Web service logic layer
E. Web service facade layer. chon
(oke)Q4.What is the function of a HTTP GET operation? (0.5)
A. (chon) The page is call and the string and value of
simple parameter are passed.
b. An operation to call the web service .
c. The parameters are passed in the standard URL encoded form
variable.

(Oke)Q5. Apart From advantages, the web services technology has some
disadvantages too which of the following are its disadvantages? (1.0)

1. Any web user can use the services thus exposed causing substantial
network security risks.
2. XML support is necessary.
3. The cost deploying the web service high.
4. Time-consuming
5. A standalone application.

a. 1 and 4
b .3 and 4
c. 3, 4, 5
d. 1, 2, 3 chon
(oke) 6 ------------ Specifies the functionality of a service and also exposes the
parameter required by the method of the service. [1.0]

A. Service Description language. + (chon)

B. Describe service language


C. Service functionality language.
D. Interface description language.
(oke)7 --------------file acts as a contract between a web service consumer and a web
service it also defines an XML grammar used to describing a web service. (0.5)

A. Service description language


B. Web service description language (WSDL) (chon)
C. Network accessible service specifications language.
(oke)8 -------------attribute declares a namespace to which all names declares in an
element will belong (.05)
A. XML version
B. Xmlns
C. Definition
D. TargetNamespaces (chon)
9 In ------------- the encoding of the input and output message for the web service is
defined (1.0)

A. Bindings (chon)
B. Output
C. Operation
D. Message
(oke) 10 Using----------- a well-formed XML packet layout can be transported to
remote computers using standard protocol. (0.5)

A. HTTP (chon)
B. SMTP
C. UDP
D. SOAP
(Oke)11 SOAP is a Lightweight protocol , which allows components and applications
to communicate ate which each other, which of the following is the disadvantage of
soap.

1. Same processing agent function as different actors


2. Cannot distinguish between an xml document and a soap
message
3. Shows a addresses for each of the access method
4. Specifies the representation of parameter for a web method (1.0)
A. 1 and 2 (chon)
B. 3 and 4
C. Only4
D. Only3
E. Only1

(oke)12 ------------------ is a kind of error which arises when the message was
incorrectly formed as contained incorrect information. (0.5)

A. VersionMismatch
B. Mustunderstand
C. Client
D. Server
E. FormMismatch +(chon)
(oke)13 The open specification developed to integrate electronic commerce sites is
known as---------------------------- (0.5)
A. UDDI
B. UDDI service registry
C. UDDI sites registry
D. UDDI business registry +chon

Set 3:
(oke)Q1.Application are divided into many components. Which of the following is the
main Advantage of such an application?

a. Popularizing their website

b. Service can be deployed across multiple computers


connection to the internet.

c. Knowledge about various screens and menus of the


application

d. Application can reside in one or more server [1.0]

i. 2

ii. 3

iii. 4 +chon

iv. 1

Q2. ----------------detects errors or lost data and resumes transmission until the data is
correctly and completely received [05]

A. UDP
B. HTTP
C. TCP +(chon)
D. ICMP

(oke) Q3. What is the function of service requestor?

1. Searches and locates the service in the service register

2. Binds the service offered by the service provider and


then consumes it
3. Stores all the service descriptions

4. Provides access to a particular service of a business system [1.0]


A. 2 + (chon)

B. 3

C. 4

D. 1

Q6. Using …………, a well-formed XML packet layout can be transported to remote
computers using standard protocols [0.5]
a. 3
b. 2
c. 4
d. 1
e. 6

(oke)Q7. What happens when a SOAP operation requires an input parameter and
this parameter is not included in the SOAP request?
1. No value is passed to the called stored procedure
2. The parameter is passed to the stored procedure with an
empty string as its value
3. The data is exchanged between the client application and web
service
4. All the data is the passed to the called stored procedure [1.0]

a) Only3
b) 1 and 2
c) Only 2
d) 1,2,3,4
e) Only 1 + chon
(oke)Q8. Which of the following are true about WSDL?

1. Well defined service documents and company Agreement document its two
subsets
2. XML tags are use to define the attributes of the service
3. Describes how application and processes can interact
online
4. Operations performed are mentioned by the wed service are mentioned in
Port[0.5]

A. Only1 and 3
B. Only2 and 3 + (chon)
C. 1,2,3,4
D. Only1 and 4

Q9. ------------ Specifies the functionality of a service and also exposes the parameter
required by the method of the service. [1.0]
a) Service Description language. + (chon)
b) Describe service language
c) Service functionality language.
d) Interface description language.

Q10. After the implementation of web service, the interoperability issues between
the applications in the network are solved . which of the following are the
advantages of legacy application ?

1. Reduce initial financial and ongoing maintenance costs.


2. Which the help of efficient value chain process, operational costs
can also be reduce.
3. through new service and programs, higher customer satisfaction
and loyalty can be achieved.

A. All…… sai
B. Only 2 and 4 sai
C. 2,3,4,5 sai
D. 1,2,3,4,6 sai
E. 4 and 5 chon
(Oke)Q11 ……….element holds application-specific error information related to the
Body element [0.5]

a) Detail + (chon)

b) Faultcode

c) Faultstring

d) Faultactor

(Oke)1.______is a technique that calls remote methods and procedures and is


suitable for applications that are loosely coupled.[1.0]

A. Remote procedure calls

B. Messaging (chon)
C.Method procedure calls

D.Coupled Procedure calls

(Oke)2.The______element in W3C WSDL specification sends a message but will not


wait for a response

A.Solicit-response sai

B.Notification
C.One-way

D.Request-response

(Oke)3.Every WSDL file has a root element______element has the default


namespaces declaration for the WSDL document other parts of the WSDL document
also appear within it.

A.<declaration>

B.<defaul>

C.<namespaces>

D. <definitions>
(Oke)4. An interface is designed for every creation of a web service .which of the
following will best explain the need for an interface?

1.Place ment of the web service

2.Single point contact

3.Effective communication between the web service


4.Overco

You might also like