Want to pass your IBM WebSphere Application Server Developer Tools V8.5 with Liberty Profile C9510-319 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
A developer runs a servlet from an OSGi web projectnamedCounterWebBundleon a Libertyserver and gets the following error message when thedoGetmethod of the servlet is run:
[ERROR ] SRVE0777E: Exception thrown by application class
'com.ibm.ws.eba.servlet.CounterServlet.doGet():42'java.lang.NoClassDefFoundError: javax.naming.InitialContext
How should the developer resolve the problem?
A. Ensure thatjndi-1.0andserverStatus-1.0are added to the Feature Managerin the server configuration.
B. Ensure thatjndi-1.0is added to the Feature Manager in the server configurationand thejavax.namingpackage is added to theImport-PackageofCounterWebBundle.
C. Ensure thatjndi-1.0is added to the Feature Manager in the server configuration andWeb 2.0is selected in the Project Facets of the PropertiesforCounterWebBundle.
D. Ensure thatjndi-1.0is added to the Feature Manager in the server configuration andthejavax.naming.InitialContextis specified in theinit-methodof the beanspecified in theblueprint.xmlfile ofCounterWebBundle.
A user wants to specify the WSDL style of a newJAX-WS Web service based on a JavaBean. Using the Web service generation wizard, which of the following are valid combinations?
A. RPC Encoded
B. RPC Wrapped
C. Document Bare
D. Document Literal
E. Document Wrapped
Which of the following is TRUE about specifying the SOAP version in JAX-WS?
A. The JAX-WS @Binding Type annotation of SOAP12HTTP_BINDING indicates to
B. The JAX-WS @Binding Type annotation of SOAP12 indicates to expose the Web service via SOAP
1.2 on both HTTP and JMS
C. A Web service implementation defined with a JAX-WS @Web Service annotation defaults to expose the endpoint via SOAP 1.1 only.
D. A Web service implementation defined with a JAX-WS @Web Service annotation defaults to expose the endpoint via SOAP 1.2 only.
E. A Web service implementation defined with a JAX-WS @Web Service annotation defaults to expose the endpoint via both SOAP 1.1 and SOAP 1.2.