Class SOAPMessageFactoryDynamicImpl
- java.lang.Object
-
- jakarta.xml.soap.MessageFactory
-
- com.sun.xml.messaging.saaj.soap.MessageFactoryImpl
-
- com.sun.xml.messaging.saaj.soap.dynamic.SOAPMessageFactoryDynamicImpl
-
public class SOAPMessageFactoryDynamicImpl extends MessageFactoryImpl
-
-
Field Summary
-
Fields inherited from class com.sun.xml.messaging.saaj.soap.MessageFactoryImpl
lazyAttachments, listener
-
-
Constructor Summary
Constructors Constructor Description SOAPMessageFactoryDynamicImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPMessagecreateMessage()Creates a newSOAPMessageobject with the defaultSOAPPart,SOAPEnvelope,SOAPBody, andSOAPHeaderobjects.-
Methods inherited from class com.sun.xml.messaging.saaj.soap.MessageFactoryImpl
createMessage, createMessage, createMessage, createMessage, getContentType, listen, setLazyAttachmentOptimization
-
Methods inherited from class jakarta.xml.soap.MessageFactory
newInstance, newInstance
-
-
-
-
Method Detail
-
createMessage
public SOAPMessage createMessage() throws SOAPException
Description copied from class:MessageFactoryCreates a newSOAPMessageobject with the defaultSOAPPart,SOAPEnvelope,SOAPBody, andSOAPHeaderobjects. Profile-specific message factories can choose to prepopulate theSOAPMessageobject with profile-specific headers.Content can be added to this message's
SOAPPartobject, and the message can be sent "as is" when a message containing only a SOAP part is sufficient. Otherwise, theSOAPMessageobject needs to create one or moreAttachmentPartobjects and add them to itself. Any content that is not in XML format must be in anAttachmentPartobject.- Overrides:
createMessagein classMessageFactoryImpl- Returns:
- a new
SOAPMessageobject - Throws:
SOAPException- if a SOAP error occurs
-
-