public class SOAPMessageFactoryDynamicImpl extends MessageFactoryImpl
lazyAttachments, listener, log| Constructor and Description |
|---|
SOAPMessageFactoryDynamicImpl() |
| Modifier and Type | Method and Description |
|---|---|
SOAPMessage |
createMessage()
Creates a new
SOAPMessage object with the default
SOAPPart, SOAPEnvelope, SOAPBody,
and SOAPHeader objects. |
createMessage, createMessage, createMessage, createMessage, getContentType, listen, setLazyAttachmentOptimizationnewInstance, newInstancepublic SOAPMessage createMessage() throws SOAPException
MessageFactorySOAPMessage object with the default
SOAPPart, SOAPEnvelope, SOAPBody,
and SOAPHeader objects. Profile-specific message factories
can choose to prepopulate the SOAPMessage object with
profile-specific headers.
Content can be added to this message's SOAPPart object, and
the message can be sent "as is" when a message containing only a SOAP part
is sufficient. Otherwise, the SOAPMessage object needs
to create one or more AttachmentPart objects and
add them to itself. Any content that is not in XML format must be
in an AttachmentPart object.
createMessage in class MessageFactoryImplSOAPMessage objectSOAPException - if a SOAP error occursCopyright © 2019 JBoss by Red Hat. All rights reserved.