What are two features of a WSDL 1.1 document? (Choose two.) A. Service defines a collection of related endpoints. B. Service describes the message’s payload using XML. C. Service assigns an Internet address to a specific binding. D. Porttype declares…

Which two code fragments are valid for adding an attachment in SAAJ? (Choose two.) A. AttachmentPart attachment = request.createAttachementPart(); String stringContent = Update total; attachment.setContent(stringContent,text/plain); attachment.setContentID(update_total); request.addAttachmentPart(attachment); B. Attachment attachment = request.createAttachement(); String stringContent = Update total; attachment.setContent(stringContent,text/plain); attachment.setContentID(update_total); request.addAttachment(attachment);…