A developer is creating a JAX-WS Web service. The Web service will be used to send cheque image file from the provider to the requestor. Given the following extract:
@MTOM(enabled=true, threshold=50)
@Web Service(name="Image Service",
target Namespace="http://com.test.ImageService")
public class Image Provider {
What does the threshold parameter indicate?
A. The minimum number of attachments that can be sent in the message
B. The maximum size in bytes for each attachment to be sent using MTOM.
C. The minimum size in bytes for each attachment before MTOM is used. Smaller attachments will use base64 inline encoding.
D. The maximum number of attachments that can be sent in the message
E. The maximum size in bytes for each attachment before MTOM streams to disk. Smaller attachments will keep the attachment in-memory.
正解:C
質問 2:
A developer has a Web service-enabled EnterpriseJavaBean Java archive (JAR) module within an EAR file. Which of the following command line tools will add one or more router modules to the
EAR file?
A. Ejbdeploy
B. Wsadmin
C. Wsdeploy
D. Endptenabler
正解:D
質問 3:
Which statements below are TRUE in IBM Web Sphere Application Server V7.0?
A. JAX-WS only supports MTOM and JAX-RPC only supports SOAP with Attachments.
B. JAX-RPC supports WSDL 1.1 and SOAP 1.1 only. JAX-WS adds support forbothWSDL 2.0 and SOAP 1.2.
C. JAX-WS based Web services add native support for WS-Addressing whereas JAX-RPC only offers Web Sphere-specific APIs to use WS-Addressing.
D. JAX-WS and JAX-RPC both offer support for SOAP with attachments
E. JAX-RPC does not validate any SOAP messages. However JAX-WS, with its inclusion of JAXB, validates all SOAP messages.
正解:C,D
質問 4:
Which three protocols can the Endpoint Listeners in the service integration bus (SIBus) of IBM Web Sphere Application Server V7.0 be configured to get invoked with?
A. SOAP/HTTP
B. RMI/JRMP
C. SOAP/HTTPS
D. RMI/IIOP
E. SOAP/JMS
F. SOAP/SMTP
正解:A,C,E
質問 5:
Which WSDL style is suited to sending binary tree nodes as part of a SOAP message?
A. RPC/literal
B. Document/literal
C. Document/literal wrapped
D. RPC/encoded
E. Document/encoded
正解:D
工藤** -
必ず合格したい場合は細かな部分まで網羅してあるC2180-371問題集