Which one of the following layers in the Web Service
implementation is the only layer always receiving a SOAP
request message first?
SOAP Processing layer
Processing layer
Interaction layer
2
Which one of the following data structures of the UDDI
represents a relationship between two business entities or
service providers?
bussinessEntity
bussinessService
publisherAssertion
3
Which data structure of the UDDI represents a
relationship between two business entities or service
providers?
1. bussinessEntity
2. bussinessService
3. publisherAssertion
4 . Which one of the following components of the ebXML
architecture contains information about a business and the
way it exchanges information with other businesses?
Collaboration - Protocol Profile and Collaboration-
Protocol Agreement
Business Processes
Messaging service
Core Components
5
Which component of the ebXML architecture provides the
message exchange functionality?
Collaboration- Protocol Profile and Collaboration-
Protocol Agreement
Business Processes
Messaging service
Core Components
6
Which of the following Web Service APIs are provided by
J2EE?
JAX-RPC
SAAJ
JAXR
JAXP
7
Which of the folowing things are performed by the JAXB
API?
1. Generate Java classes from an XML schema
2. Read and write XML using Java classes generated from an
XML schema
3. Parse XML using SAX and DOM
8
Which of the following APIs are included in the JAXP
API?
SAX
DOM
StAX (Streaming API for XML)
TrAX (Transforming API for XML)
JDOM
9
Which of the following elements are created by a new
SOAPMessage object by default?
SOAPHeader
SOAPAttachment
SOAPBody
SOAPEnvelope
SOAPPart
AttacthmentPart
10
Which of the following are the ways in which an SDI can
be obtained from the service provider by a client?
Direct
Indirect
HTTP GET Request
Dynamic Discovery
Static Discovery
11
Following are the steps to access a Web Service using a
Dynamic Proxy
1. Invoke Web Service using proxy object.
2. Create a Service object.
3. Type cast the proxy as an interface.
4. Create a proxy using the service object's getPort() method.
Which of the following indicates the correct sequence of the
steps?
1, 2, 3, 4
2, 3, 4, 1
2, 3, 1, 4
2, 4, 3, 1
12
Which of the following statements about ebXML Registry
are true?
It is a superset of UDDI.
It is a subset of UDDI.
It stores the business process documents of the service
provider.
It stores the information about the service provider and
the Web Service.
13
Following are the steps to access a Web Service using the
DII method:
1. Invoke web service using proxy object.
2. Create a Service object.
3. Create a QName class instance using the generated interface
class.
4. Set the Call object properties.
5. Set the Web Service operation name.
6. Create the Call object and set its address.
Which of the following indicates the correct sequence of the
steps?
1, 2, 3, 4, 6, 5
2, 5, 4, 1, 3, 6
2, 3, 6, 4, 5, 1
2, 6, 3, 1, 4, 5
14
Which of the following statements are true about the
SOAP Fault?
All faults need to be reported in a singe SOAP fault
element within the SOAP body.
All faults need to be reported as separate SOAP fault
elements within the SOAP body.
The faultcode and faultstring sub-elements of a SOAP
Fault are mandatory.
The faultactor and detail sub-elements of a SOAP Fault
are mandatory.
15
Which of the following are valid fault code values defined
in SOAP?
Server
ClientFault
VersionMismatch
CannotUnderstand
MustUnderstand
MessageError
Client
16
What is the interaction layer responsible for?
1. Managing the handling of requests so that the service
endpoint serves as the initial point of contact.
2. Invoking security services, including authentication and
authorization
3. Validating and transforming incoming XML documents and
mapping XML documents to domain objects.
4. Validating and transforming outgoing XML documents.
5. Delegating to existing business logic
6. Handling errors
1, 2, 3, 6
1, 2, 3, 5, 6
2, 3, 4, 6
1, 2, 4, 5, 6
17
Which one of the following lightweight protocols provides
a way for programs to interact with each other, even if
using different operating systems and located behind a
firewall?
CORBA
SOAP
RMI
DCOM
18
Which one of the following elements of WSDL describes
the various operations or methods provided by a Web
Service?
binding
portType
message
types
19
Which one of the following elements of WSDL defines the
message format and protocol details for each port?
binding
port
message
types
20
Which one of the following API calls is used to register or
update complete information about a businessService
exposed by a specified businessEntity?
1. <save_service>
2. <save_binding>
3. <save_business>
4. <find_service>
Không có nhận xét nào:
Đăng nhận xét