Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
28.1
a. False. Only methods declared with the @WebMethod annotation can be invoked by a web serviceās clients.
b. False. The proxy class is created by NetBeans when you add a web service client to the application.
c. True.
d. False. In the JAX-WS framework, the client must indicate whether it wants to allow the web service to maintain session information. First, you must cast the proxy object to interface type BindingProvider, then use the BindingProviderās getRequestContext method to obtain the RequestContext object. Finally, you must use the RequestContextās put method to set the property BindingProvider.SESSION_MAINTAIN_PROPERTY to true.
e. True.
f. True.
g. True.
h. False. A SOAP web service implicitly returns data in XML format.