问题:单选题A developer used wsimport to generate the skeleton code for a Web service implementation. What is the purpose of the generated ObjectFactory class?()AThe ObjectFactory class is the generated Service Endpoint Interface classBThe ObjectFactory class is the generated service provider class that is used by the JAX-WS client.CThe ObjectFactory class takes the targetNamespace value and creates the directory structure.DThe ObjectFactory class allows you to programatically construct new instances of the Java representation for XML content.
Wednesday, February 21, 2024
问题:单选题The WS-I Simple SOAP Binding Profile V1.0 mandates that a message must serialize the envelope according to which specification?()AXML 1.0BWSDL 1.1CSOAP 1.1DHTTP 1.0
Friday, March 29, 2024
问题:单选题What must be included in a SOAP fault message when an error occurs due to a value in the message Body element?()AA detail elementBA Body fault codeCAn application-specific fault codeDA fault string element with a value of Body
Sunday, April 7, 2024
问题:多选题An RPC/encoded Web service experiences poor performance at high message volumes. What can a developer do to improve this performance?()ATurn off marshallingBUse binary encodingCUse RPC/literal encodingDUse document/literal encodingERedesign to use more granular messaging
问题:多选题A company is migrating their current JAX-WS Web service running on IBM WebSphere Application Server V6.1 with the Feature Pack for Web Services to V7.0. The company wants to continue to support V6.1 service consumers. If the Web service has WS-AtomicTransaction enabled, what settings should be configured to support the widest range of clients? ()ASet the WS-AtomicTransaction to Never in WS-Transaction policy of the policy setBSet the WS-AtomicTransaction to Supports in WS-Transaction policy of the policy setCSet the WS-AtomicTransaction to Mandatory in WS-Transaction policy of the policy setDSet the Default WS-Tx specification level to 1.0 in application policy set bindingsESet the Default WS-Tx specification level to 1.1 in application policy set bindings
问题:单选题A company has a high business value JAX-WS provider Web Service and cannot afford to lose any messages. What kind of quality of service should be used in conjunction with WS-ReliableMessaging?()AManaged persistentBManaged non-persistentCUnmanaged non-persistentDManaged persistent and Transaction (enableTransactionalOneWay)EManaged non-persistent and Transaction (enableTransactionalOneWay)FUnmanaged non-persistent and Transaction (enableTransactionalOneWay)
问题:单选题What is the biggest advantage of using Web services to create SOA solutions?()AThey are implemented using Java and XMLBThey support a client-server programming modelCThey are used to create tightly coupled applicationsDThey are implemented using standardized technologies
问题:单选题When creating a Web service which requires reliable delivery of SOAP messages, which transport should be used?()ASOAP/TCPBSOAP/JMSCSOAP/HTTPDSOAP/SMTPESOAP/HTTPS
问题:单选题A customer requires a Web service which ensures message delivery. Which transport should be proposed?()ASOAP/TCPBSOAP/JMSCSOAP/HTTPDSOAP/SMTPESOAP/HTTPS
问题:单选题Why would a developer prefer to use SOAP Web services over REST Web services?()ATo provide message level securityBTo allow integration with Web 2.0 applicationsCTo be able to use XML to format response messagesDTo be able to use the HTTP or HTTPS transport protocols
问题:多选题Which of the following is used to invoke a Web service from an unmanaged client?()AJAX-WS dispatch APIBDeployment descriptorC@Resource annotationD@WebServiceRef annotationEService and Interface classes
问题:单选题What is the LEAST appropriate scenario for Web services?()ATo integrate legacy systemsBTo propagate security contextCTo expose fine grained operationsDTo use with process choreographyEFor B2B (business to business) applications
问题:单选题The following methods are to be published as Web services to be invoked via SOAP messages and validated with a schema: public void myMethod(int x, float y); public void myMethod(int x); public void someOtherMethod(int x, float y); Which WSDL style should be used?()ARPC/literalBRPC/encodedCDocument/encodedDDocument/literalEDocument/literal wrapped
问题:单选题Which of the following business scenarios is the LEAST appropriate for Web services?()AExpanding the reach of your company information.BProviding transactional services such as credit card payment processing.CMaking existing services available to a business process to orchestrate services.DEnabling interoperability between heterogeneous services to create time-critical solutions.