The concept of an endpoint in web services is much like that of a controller in web applications.
a) True
b) False
Q.2.
Spring-WS provides various abstract endpoint classes for you to process the request.
a) org.springframework.ws.server.endpoint
b) org.springframework.ws.server
c) org.springframework.*
d) none of the mentioned
Q.3.
Endpoint Classes for DOM:-
a) AbstractDomPayloadEndpoint
b) AbstractJDomPayloadEndpoint
c) AbstractDom4jPayloadEndpoint
d) AbstractXomPayloadEndpoint
Q.4.
Endpoint Classes for JDOM:-
a) AbstractDomPayloadEndpoint
b) AbstractJDomPayloadEndpoint
c) AbstractDom4jPayloadEndpoint
d) AbstractXomPayloadEndpoint
Q.5.
Endpoint Classes for dom4j:-
a) AbstractDomPayloadEndpoint
b) AbstractJDomPayloadEndpoint
c) AbstractDom4jPayloadEndpoint
d) AbstractXomPayloadEndpoint
Q.6.
Endpoint Classes for XOM:-
a) AbstractDomPayloadEndpoint
b) AbstractJDomPayloadEndpoint
c) AbstractDom4jPayloadEndpoint
d) AbstractXomPayloadEndpoint
Q.7.
Endpoint Classes for SAX:-
a) AbstractDomPayloadEndpoint
b) AbstractSaxPayloadEndpoint
c) AbstractDom4jPayloadEndpoint
d) AbstractXomPayloadEndpoint
Q.8.
Endpoint Classes for Event-based StAX:-
a) AbstractDomPayloadEndpoint
b) AbstractSaxPayloadEndpoint
c) AbstractDom4jPayloadEndpoint
d) AbstractStaxEventPayloadEndpoint
Q.9.
Endpoint Classes for Streaming StAX :-
a) AbstractDomPayloadEndpoint
b) AbstractSaxPayloadEndpoint
c) AbstractStaxStreamPayloadEndpoint
d) AbstractStaxEventPayloadEndpoint
Q.10.
Endpoint Classes for XML marshalling :-
a) AbstractDomPayloadEndpoint
b) AbstractSaxPayloadEndpoint
c) AbstractStaxStreamPayloadEndpoint
d) AbstractMarshallingPayloadEndpoint
Q.11.
If you need to get access to the entire SOAP message, you should write an endpoint class by implementing:-
a) org.springframework.ws.server.endpoint.MessageEndpoint
b) org.springframework.ws
c) org.springframework.ws.server.endpoint
d) all of the mentioned
Q.12.
You can create a domendpoint by extending the:-
a) AbstractDom4jPayloadEndpoint
b) AbstractDom4jPayload
c) AbstractDom4jEndpoint
d) None of the mentioned
Q.13.
In this method, you can access the request XML element, whose type is org.dom4j.Element, and the response document, whose type is org.dom4j.Document, as method arguments.
a) invoke
b) invokeInterval
c) invokeInternal
d) none of the mentioned
Q.14.
Web services can be invoked through the core template class:-
a) org.springframework.ws.client.core.WebServiceTemplate
b) JDBC Template
c) All of the mentioned
d) None of the mentioned
Q.15.
WebServiceTemplate provides a sendSourceAndReceiveToResult() method that accepts arguments:-
a) java.xml.transform.Source
b) java.xml.transform.Result
c) all of the mentioned
d) none of the mentioned
Support mcqgeeks.com by disabling your adblocker.
Please disable the adBlock and continue. Thank you.