PrepAway - Latest Free Exam Questions & Answers

What does the threshold parameter indicate?

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)
@WebService(name=”ImageService”, targetNamespace=”http://com.test.ImageService”)
public class ImageProvider {
What does the threshold parameter indicate?

PrepAway - Latest Free Exam Questions & Answers

A.
the minimum number of attachments that can be sent in the message

B.
the maximum number of attachments that can be sent in the message

C.
the maximum size in bytes for each attachment to be sent using MTOM.

D.
the minimum size in bytes for each attachment before MTOM is used. Smaller attachments will use
base64 inline encoding.

E.
the maximum size in bytes for each attachment before MTOM streams to disk. Smaller attachments will
keep the attachment in-memory.


Leave a Reply