Fuzilaga
RSS Feeds
Home
Programming
Java
Mobile Edition
Web Services
Psychotechnics
Focusing
Tales
Contact
«
Puzzles
JWS Quiz 6: 11 questions
»
JWS Quiz 5: 22 questions
Instead of using service class artifact generated by wsimport it is posible to create a service using Service.createService()?
True
False
What is true about @WebResult annotation?
Customizes the mapping between the Web Service operation return value and the corresponding element of the generated WSDL file
The default value for the name attribute is the hard-coded name return
@WebResult(name="return") is the correct syntax
All of the above
None of the above
What is true?
The 'use' attribute in the binding section of the WSDL has 'encoded' as possible value
The 'use' attribute in the binding section of the WSDL has 'literally' as possible value
The 'encoded' value complies with the WS-I (Web Services-Interoperability)
All of the above
None of the above
Wrapped convention is to give document-style service the look and feel of an rpc-style service.
True
False
JWS only supports blocking synchronous calls.
True
False
Defining true for jaxws:enableAsyncMapping in the custom binding file will generate artifacts with the support of asynchronous calls.
True
False
To implement AsyncHandler interface, handleResponse() and handleRequest() methods should be implemented.
True
False
Diagnose the problem while trying to run JWS publisher. Exception in thread "main" com.sun.xml.internal.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class com.x.jaxws.SayHelloAsString is not found.
wsimp util wasn't used to generated necessary artifacts
wsgen util wasn't used to generated necessary artifacts
None of the above
JAX-B supports conversion between Java and XML types
True
False
The process of transforming the memory representation of an object to a data format suitable for storage or transmission such as XML called:
unmarshaling
marshaling
recrystallization
deserialization
demarshaling
Extracting a data structure from a series of bytes called:
marshaling
recrystallization
unmarshaling
serialization
deflation
What is true about @XmlType?
Maps a class or an enum type to a XML Schema type.
Maps a static reference to a XML Schema type.
Maps in-memory object to a XML Schema type.
All of the above
What is true about @XmlRootElement?
Maps a class or an enum type to an XML object.
Maps a class or an enum type to an XML type.
Maps a class or an enum type to an XML element/document.
All of the above
By default, JAX-B marshaling follows standard Java and JavaBean naming conventions.
True
False
Using following annotations: @XmlAccessorType(XmlAccessType.FIELD) @XmlElement(name = "return", namespace = "") It is possible to override the default JavaBean naming conventions in marshaling and unmarshaling classes.
True
False
JAX-B unmarshaling doesn't requires that each class have a public noargument constructor.
True
False
In the latest Metro release the Endpoint publisher automatically generates wsgen artifacts.
True
False
Which wsgen attribute allows to generate wsdl file:
there is no attribute for this
-wsdl
-service
-contract
WSDL generated with wsgen doesn't contain service endpoint URL
True
False
The code-first approach doesn't compromise the principle of software development that an interface after it is published should be treated as immutable.
True
False
@Oneway annotation requires
that a method returns null
that a method returns void
that a method returns none empty value
that a method returns object
The last 'S' in WSDL-S stands for:
Semantics
Service
Solution
System
Share/Bookmark
This entry was posted by
fuzilaga
on June 1, 2010 at 6:29 pm, and is filled under
Web Services
. Follow any responses to this post through
RSS 2.0
. You can
leave a response
or
trackback
from your own site.
Comments (0)
No comments yet.
268
No trackbacks yet.
Recent comments
Popular posts
Archives
Tags
Categories
Home
(2)
Programming
(23)
Java
(23)
Mobile Edition
(2)
Web Services
(21)
Psychotechnics
(3)
Focusing
(3)
Tales
(1)
Contact
(1)
July 2010
(7)
June 2010
(13)
May 2010
(7)
April 2010
(3)
Didn't find any posts popular enough :(