Uses of Class
jakarta.xml.soap.SOAPException
Package
Description
Provides the API for creating and building SOAP messages.
-
Uses of SOAPException in com.sun.xml.messaging.saaj
Modifier and TypeClassDescriptionclass
An exception that signals that a SOAP exception has occurred. -
Uses of SOAPException in com.sun.xml.messaging.saaj.client.p2p
-
Uses of SOAPException in com.sun.xml.messaging.saaj.soap
Modifier and TypeMethodDescriptionstatic void
AttachmentPartImpl.copyMimeHeaders
(MimeBodyPart mbp, AttachmentPartImpl ap) static void
AttachmentPartImpl.copyMimeHeaders
(MimeHeaders headers, MimeBodyPart mbp) SOAPFactoryImpl.createDetail()
SOAPFactoryImpl.createElement
(Name name) SOAPFactoryImpl.createElement
(String tagName) SOAPFactoryImpl.createElement
(String localName, String prefix, String uri) SOAPFactoryImpl.createElement
(QName qname) SOAPFactoryImpl.createElement
(Element domElement) protected abstract Envelope
SOAPPartImpl.createEmptyEnvelope
(String prefix) static Envelope
EnvelopeFactory.createEnvelope
(Source src, SOAPPartImpl soapPart) protected abstract Envelope
SOAPPartImpl.createEnvelopeFromSource()
SOAPFactoryImpl.createFault()
SOAPFactoryImpl.createFault
(String reasonText, QName faultCode) MessageFactoryImpl.createMessage()
MessageFactoryImpl.createMessage
(boolean isFastInfoset, boolean acceptFastInfoset) MessageFactoryImpl.createMessage
(MimeHeaders headers, InputStream in) MessageFactoryImpl.createMessage
(MimeHeaders headers, XMLStreamReader reader) MessageFactoryImpl.createMessage
(String protocol) SOAPFactoryImpl.createName
(String localName) SOAPFactoryImpl.createName
(String localName, String prefix, String uri) MessageImpl.getAttachment
(SOAPElement element) AttachmentPartImpl.getBase64Content()
AttachmentPartImpl.getContent()
SOAPPartImpl.getContent()
jakarta.activation.DataHandler
AttachmentPartImpl.getDataHandler()
SOAPPartImpl.getEnvelope()
LazyEnvelope.getPayloadAttributeValue
(String localName) Retrieve payload attribute value without materializing its contentsLazyEnvelope.getPayloadAttributeValue
(QName qName) Retrieve payload attribute value without materializing its contentsLazyEnvelope.getPayloadQName()
Retrieve payload qname without materializing its contentsLazyEnvelope.getPayloadReader()
AttachmentPartImpl.getRawContent()
byte[]
AttachmentPartImpl.getRawContentBytes()
int
AttachmentPartImpl.getSize()
MessageImpl.getSOAPBody()
MessageImpl.getSOAPHeader()
Envelope.getStaxBridge()
protected void
SOAPPartImpl.lookForEnvelope()
protected XMLDeclarationParser
SOAPPartImpl.lookForXmlDecl()
protected MessageFactory
SAAJMetaFactoryImpl.newMessageFactory
(String protocol) protected SOAPFactory
SAAJMetaFactoryImpl.newSOAPFactory
(String protocol) void
MessageImpl.saveChanges()
void
AttachmentPartImpl.setBase64Content
(InputStream content, String contentType) void
SOAPPartImpl.setContent
(Source source) void
SOAPDocumentImpl.setParentElement
(SOAPElement parent) void
SOAPPartImpl.setParentElement
(SOAPElement parent) void
AttachmentPartImpl.setRawContent
(InputStream content, String contentType) void
AttachmentPartImpl.setRawContentBytes
(byte[] content, int off, int len, String contentType) void
Envelope.setStaxBridge
(StaxBridge bridge) void
LazyEnvelope.writeTo
(XMLStreamWriter writer) void
MessageImpl.writeTo
(OutputStream out) ModifierConstructorDescriptionprotected
StaxBridge
(SOAPPartImpl soapPart) StaxLazySourceBridge
(LazyEnvelopeSource src, SOAPPartImpl soapPart) StaxReaderBridge
(XMLStreamReader reader, SOAPPartImpl soapPart) -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.dynamic
Modifier and TypeMethodDescriptionSOAPFactoryDynamicImpl.createDetail()
SOAPMessageFactoryDynamicImpl.createMessage()
-
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.impl
Modifier and TypeMethodDescriptionElementImpl.addAttribute
(Name name, String value) ElementImpl.addAttribute
(QName qname, String value) EnvelopeImpl.addBody()
BodyImpl.addBodyElement
(Name name) BodyImpl.addBodyElement
(QName qname) protected SOAPElement
ElementImpl.addChildElement
(Name name) ElementImpl.addChildElement
(SOAPElement element) ElementImpl.addChildElement
(String localName) ElementImpl.addChildElement
(String localName, String prefix) ElementImpl.addChildElement
(String localName, String prefix, String uri) ElementImpl.addChildElement
(QName qname) HeaderImpl.addChildElement
(String localName) FaultImpl.addDetail()
DetailImpl.addDetailEntry
(Name name) DetailImpl.addDetailEntry
(QName qname) BodyImpl.addDocument
(Document document) protected SOAPElement
BodyImpl.addElement
(Name name) protected SOAPElement
BodyImpl.addElement
(QName name) protected SOAPElement
DetailImpl.addElement
(Name name) protected SOAPElement
DetailImpl.addElement
(QName name) protected SOAPElement
ElementImpl.addElement
(Name name) protected SOAPElement
ElementImpl.addElement
(QName name) protected SOAPElement
EnvelopeImpl.addElement
(Name name) protected SOAPElement
EnvelopeImpl.addElement
(QName name) protected SOAPElement
FaultImpl.addElement
(Name name) protected SOAPElement
FaultImpl.addElement
(QName name) protected SOAPElement
HeaderImpl.addElement
(Name name) protected SOAPElement
HeaderImpl.addElement
(QName name) BodyImpl.addFault()
protected SOAPFaultElement
FaultImpl.addFaultCodeElement()
EnvelopeImpl.addHeader()
HeaderImpl.addHeaderElement
(Name name) HeaderImpl.addHeaderElement
(QName name) ElementImpl.addNamespaceDeclaration
(String prefix, String uri) protected void
protected FaultElementImpl
FaultImpl.addSOAPFaultElement
(String localName) protected SOAPElement
ElementImpl.addTextNode
(String text) HeaderImpl.addUpgradeHeaderElement
(String supportedSoapUri) HeaderImpl.addUpgradeHeaderElement
(String[] supportedSoapUris) HeaderImpl.addUpgradeHeaderElement
(Iterator<String> supportedSoapUris) protected abstract void
FaultImpl.checkIfStandardFaultCode
(String faultCode, String uri) protected abstract SOAPHeaderElement
HeaderImpl.createHeaderElement
(Name name) protected abstract SOAPHeaderElement
HeaderImpl.createHeaderElement
(QName name) EnvelopeImpl.createName
(String localName) EnvelopeImpl.createName
(String localName, String uri) EnvelopeImpl.createName
(String localName, String prefix, String uri) ElementImpl.createQName
(String localName, String prefix) BodyImpl.extractContentAsDocument()
protected abstract void
FaultImpl.finallySetFaultCode
(String faultcode) protected void
ElementImpl.findEncodingStyleAttributeName()
EnvelopeImpl.getBody()
EnvelopeImpl.getHeader()
EnvelopeImpl.getPayloadAttributeValue
(String localName) EnvelopeImpl.getPayloadAttributeValue
(QName qName) EnvelopeImpl.getPayloadQName()
EnvelopeImpl.getPayloadReader()
EnvelopeImpl.getStaxBridge()
protected void
EnvelopeImpl.lookForBody()
protected void
EnvelopeImpl.lookForHeader()
BodyImpl.setElementQName
(QName newName) ElementImpl.setElementQName
(QName newName) EnvelopeImpl.setElementQName
(QName newName) FaultElementImpl.setElementQName
(QName newName) FaultImpl.setElementQName
(QName newName) HeaderImpl.setElementQName
(QName newName) void
ElementImpl.setEncodingStyle
(String encodingStyle) protected void
ElementImpl.setEncodingStyleNamespace
(String soapNamespace, String soapNamespacePrefix) abstract void
FaultImpl.setFaultActor
(String faultActor) void
FaultImpl.setFaultCode
(Name faultCodeQName) void
FaultImpl.setFaultCode
(String faultCode) void
FaultImpl.setFaultCode
(String faultCode, String prefix, String uri) void
FaultImpl.setFaultCode
(QName faultCodeQName) void
AttrImpl.setParentElement
(SOAPElement parent) void
BodyElementImpl.setParentElement
(SOAPElement element) void
BodyImpl.setParentElement
(SOAPElement element) void
ElementImpl.setParentElement
(SOAPElement element) void
HeaderElementImpl.setParentElement
(SOAPElement element) void
HeaderImpl.setParentElement
(SOAPElement element) void
TextImpl.setParentElement
(SOAPElement parent) void
HeaderElementImpl.setRelay
(boolean relay) void
void
EnvelopeImpl.setStaxBridge
(StaxBridge bridge) void
EnvelopeImpl.writeTo
(XMLStreamWriter writer) ModifierConstructorDescriptionprotected
EnvelopeImpl
(SOAPDocumentImpl ownerDoc, NameImpl name, boolean createHeader, boolean createBody) -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.ver1_1
Modifier and TypeMethodDescriptionFault1_1Impl.addChildElement
(SOAPElement element) void
Fault1_1Impl.addFaultReasonText
(String text, Locale locale) Header1_1Impl.addNotUnderstoodHeaderElement
(QName name) protected void
Fault1_1Impl.checkIfStandardFaultCode
(String faultCode, String uri) SOAPFactory1_1Impl.createDetail()
protected Envelope
SOAPPart1_1Impl.createEmptyEnvelope
(String prefix) protected Envelope
SOAPPart1_1Impl.createEnvelopeFromSource()
SOAPFactory1_1Impl.createFault()
SOAPFactory1_1Impl.createFault
(String reasonText, QName faultCode) SOAPMessageFactory1_1Impl.createMessage()
SOAPMessageFactory1_1Impl.createMessage
(boolean isFastInfoset, boolean acceptFastInfoset) protected void
Fault1_1Impl.finallySetFaultCode
(String faultcode) BodyElement1_1Impl.setElementQName
(QName newName) DetailEntry1_1Impl.setElementQName
(QName newName) FaultElement1_1Impl.setElementQName
(QName newName) HeaderElement1_1Impl.setElementQName
(QName newName) void
Fault1_1Impl.setFaultActor
(String faultActor) void
Fault1_1Impl.setFaultCode
(String faultCode, String prefix, String uri) void
Fault1_1Impl.setFaultString
(String faultString) void
Fault1_1Impl.setFaultString
(String faultString, Locale locale) -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.ver1_2
Modifier and TypeMethodDescriptionBody1_2Impl.addAttribute
(Name name, String value) Body1_2Impl.addAttribute
(QName name, String value) Detail1_2Impl.addAttribute
(Name name, String value) Detail1_2Impl.addAttribute
(QName name, String value) Envelope1_2Impl.addAttribute
(Name name, String value) Envelope1_2Impl.addAttribute
(QName name, String value) Fault1_2Impl.addAttribute
(Name name, String value) Fault1_2Impl.addAttribute
(QName name, String value) FaultElement1_2Impl.addAttribute
(Name name, String value) FaultElement1_2Impl.addAttribute
(QName name, String value) Header1_2Impl.addAttribute
(Name name, String value) Header1_2Impl.addAttribute
(QName name, String value) Body1_2Impl.addBodyElement
(Name name) Body1_2Impl.addBodyElement
(QName name) Body1_2Impl.addChildElement
(Name name) Body1_2Impl.addChildElement
(QName name) Envelope1_2Impl.addChildElement
(Name name) Envelope1_2Impl.addChildElement
(QName name) Fault1_2Impl.addChildElement
(SOAPElement element) protected SOAPElement
Body1_2Impl.addElement
(Name name) protected SOAPElement
Body1_2Impl.addElement
(QName name) Body1_2Impl.addFault()
void
Fault1_2Impl.addFaultReasonText
(String text, Locale locale) Header1_2Impl.addNotUnderstoodHeaderElement
(QName sourceName) Envelope1_2Impl.addTextNode
(String text) Fault1_2Impl.addTextNode
(String text) Header1_2Impl.addTextNode
(String text) void
Fault1_2Impl.appendFaultSubcode
(QName subcode) protected void
Fault1_2Impl.checkIfStandardFaultCode
(String faultCode, String uri) SOAPFactory1_2Impl.createDetail()
protected Envelope
SOAPPart1_2Impl.createEmptyEnvelope
(String prefix) protected Envelope
SOAPPart1_2Impl.createEnvelopeFromSource()
SOAPFactory1_2Impl.createFault()
SOAPFactory1_2Impl.createFault
(String reasonText, QName faultCode) protected SOAPHeaderElement
Header1_2Impl.createHeaderElement
(Name name) protected SOAPHeaderElement
Header1_2Impl.createHeaderElement
(QName name) SOAPMessageFactory1_2Impl.createMessage()
SOAPMessageFactory1_2Impl.createMessage
(boolean isFastInfoset, boolean acceptFastInfoset) protected void
Fault1_2Impl.finallySetFaultCode
(String faultcode) Fault1_2Impl.getFaultReasonLocales()
Fault1_2Impl.getFaultReasonText
(Locale locale) Fault1_2Impl.getFaultReasonTexts()
BodyElement1_2Impl.setElementQName
(QName newName) DetailEntry1_2Impl.setElementQName
(QName newName) FaultElement1_2Impl.setElementQName
(QName newName) HeaderElement1_2Impl.setElementQName
(QName newName) void
Body1_2Impl.setEncodingStyle
(String encodingStyle) void
Detail1_2Impl.setEncodingStyle
(String encodingStyle) void
Envelope1_2Impl.setEncodingStyle
(String encodingStyle) void
Fault1_2Impl.setEncodingStyle
(String encodingStyle) void
FaultElement1_2Impl.setEncodingStyle
(String encodingStyle) void
Header1_2Impl.setEncodingStyle
(String encodingStyle) void
Fault1_2Impl.setFaultActor
(String faultActor) void
Fault1_2Impl.setFaultNode
(String uri) void
Fault1_2Impl.setFaultRole
(String uri) void
Fault1_2Impl.setFaultString
(String faultString) void
Fault1_2Impl.setFaultString
(String faultString, Locale locale) ModifierConstructorDescriptionEnvelope1_2Impl
(SOAPDocumentImpl ownerDoc, String prefix, boolean createHeader, boolean createBody) -
Uses of SOAPException in com.sun.xml.messaging.saaj.util
-
Uses of SOAPException in com.sun.xml.messaging.saaj.util.stax
ModifierConstructorDescriptionSaajStaxWriter
(SOAPMessage msg, String uri) SaajStaxWriterEx
(SOAPMessage msg, String uri) -
Uses of SOAPException in jakarta.xml.soap
Modifier and TypeMethodDescriptionSOAPElement.addAttribute
(Name name, String value) Adds an attribute with the specified name and value to thisSOAPElement
object.SOAPElement.addAttribute
(QName qname, String value) Adds an attribute with the specified name and value to thisSOAPElement
object.SOAPEnvelope.addBody()
Creates aSOAPBody
object and sets it as theSOAPBody
object for thisSOAPEnvelope
object.SOAPBody.addBodyElement
(Name name) Creates a newSOAPBodyElement
object with the specified name and adds it to thisSOAPBody
object.SOAPBody.addBodyElement
(QName qname) Creates a newSOAPBodyElement
object with the specified QName and adds it to thisSOAPBody
object.SOAPElement.addChildElement
(Name name) Creates a newSOAPElement
object initialized with the givenName
object and adds the new element to thisSOAPElement
object.SOAPElement.addChildElement
(SOAPElement element) Add aSOAPElement
as a child of thisSOAPElement
instance.SOAPElement.addChildElement
(String localName) Creates a newSOAPElement
object initialized with the specified local name and adds the new element to thisSOAPElement
object.SOAPElement.addChildElement
(String localName, String prefix) Creates a newSOAPElement
object initialized with the specified local name and prefix and adds the new element to thisSOAPElement
object.SOAPElement.addChildElement
(String localName, String prefix, String uri) Creates a newSOAPElement
object initialized with the specified local name, prefix, and URI and adds the new element to thisSOAPElement
object.SOAPElement.addChildElement
(QName qname) Creates a newSOAPElement
object initialized with the givenQName
object and adds the new element to thisSOAPElement
object.SOAPFault.addDetail()
Creates an optionalDetail
object and sets it as theDetail
object for thisSOAPFault
object.Detail.addDetailEntry
(Name name) Creates a newDetailEntry
object with the given name and adds it to thisDetail
object.Detail.addDetailEntry
(QName qname) Creates a newDetailEntry
object with the given QName and adds it to thisDetail
object.SOAPBody.addDocument
(Document document) Adds the root node of the DOMDocument
to thisSOAPBody
object.SOAPBody.addFault()
Creates a newSOAPFault
object and adds it to thisSOAPBody
object.Creates a newSOAPFault
object and adds it to thisSOAPBody
object.Creates a newSOAPFault
object and adds it to thisSOAPBody
object.Creates a newSOAPFault
object and adds it to thisSOAPBody
object.Creates a newSOAPFault
object and adds it to thisSOAPBody
object.void
SOAPFault.addFaultReasonText
(String text, Locale locale) Appends or replaces a Reason Text item containing the specified text message and an xml:lang derived fromlocale
.SOAPEnvelope.addHeader()
Creates aSOAPHeader
object and sets it as theSOAPHeader
object for thisSOAPEnvelope
object.SOAPHeader.addHeaderElement
(Name name) Creates a newSOAPHeaderElement
object initialized with the specified name and adds it to thisSOAPHeader
object.SOAPHeader.addHeaderElement
(QName qname) Creates a newSOAPHeaderElement
object initialized with the specified qname and adds it to thisSOAPHeader
object.SOAPElement.addNamespaceDeclaration
(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to thisSOAPElement
object.SOAPHeader.addNotUnderstoodHeaderElement
(QName name) Creates a new NotUnderstoodSOAPHeaderElement
object initialized with the specified name and adds it to thisSOAPHeader
object.SOAPElement.addTextNode
(String text) Creates a newText
object initialized with the givenString
and adds it to thisSOAPElement
object.SOAPHeader.addUpgradeHeaderElement
(String supportedSoapUri) Creates a new UpgradeSOAPHeaderElement
object initialized with the specified supported SOAP URI and adds it to thisSOAPHeader
object.SOAPHeader.addUpgradeHeaderElement
(String[] supportedSoapUris) Creates a new UpgradeSOAPHeaderElement
object initialized with the specified array of supported SOAP URIs and adds it to thisSOAPHeader
object.SOAPHeader.addUpgradeHeaderElement
(Iterator<String> supportedSOAPURIs) Creates a new UpgradeSOAPHeaderElement
object initialized with the specified List of supported SOAP URIs and adds it to thisSOAPHeader
object.void
SOAPFault.appendFaultSubcode
(QName subcode) Adds a Subcode to the end of the sequence of Subcodes contained by thisSOAPFault
.abstract SOAPMessage
SOAPConnection.call
(SOAPMessage request, Object to) Sends the given message to the specified endpoint and blocks until it has returned the response.abstract void
SOAPConnection.close()
Closes thisSOAPConnection
object.abstract SOAPConnection
SOAPConnectionFactory.createConnection()
Create a newSOAPConnection
.abstract Detail
SOAPFactory.createDetail()
Creates a newDetail
object which serves as a container forDetailEntry
objects.abstract SOAPElement
SOAPFactory.createElement
(Name name) Creates aSOAPElement
object initialized with the givenName
object.abstract SOAPElement
SOAPFactory.createElement
(String localName) Creates aSOAPElement
object initialized with the given local name.abstract SOAPElement
SOAPFactory.createElement
(String localName, String prefix, String uri) Creates a newSOAPElement
object with the given local name, prefix and uri.SOAPFactory.createElement
(QName qname) Creates aSOAPElement
object initialized with the givenQName
object.SOAPFactory.createElement
(Element domElement) Creates aSOAPElement
object from an existing DOMElement
.abstract SOAPFault
SOAPFactory.createFault()
Creates a new defaultSOAPFault
objectabstract SOAPFault
SOAPFactory.createFault
(String reasonText, QName faultCode) Creates a newSOAPFault
object initialized with the givenreasonText
andfaultCode
abstract SOAPMessage
MessageFactory.createMessage()
Creates a newSOAPMessage
object with the defaultSOAPPart
,SOAPEnvelope
,SOAPBody
, andSOAPHeader
objects.abstract SOAPMessage
MessageFactory.createMessage
(MimeHeaders headers, InputStream in) Internalizes the contents of the givenInputStream
object into a newSOAPMessage
object and returns theSOAPMessage
object.SOAPEnvelope.createName
(String localName) Creates a newName
object initialized with the given local name.SOAPEnvelope.createName
(String localName, String uri) Creates a newName
object initialized with the given local name and namespace prefix.SOAPEnvelope.createName
(String localName, String prefix, String uri) Creates a newName
object initialized with the given local name, namespace prefix, and namespace URI.abstract Name
SOAPFactory.createName
(String localName) Creates a newName
object initialized with the given local name.abstract Name
SOAPFactory.createName
(String localName, String prefix, String uri) Creates a newName
object initialized with the given local name, namespace prefix, and namespace URI.SOAPElement.createQName
(String localName, String prefix) Creates aQName
whose namespace URI is the one associated with the parameter,prefix
, in the context of thisSOAPElement
.SOAPBody.extractContentAsDocument()
Creates a new DOMDocument
and sets the first child of thisSOAPBody
as it's document element.Gets a message from a specific endpoint and blocks until it receives,abstract AttachmentPart
SOAPMessage.getAttachment
(SOAPElement element) Returns anAttachmentPart
object that is associated with an attachment that is referenced by thisSOAPElement
ornull
if no such attachment exists.abstract InputStream
AttachmentPart.getBase64Content()
Returns anInputStream
which can be used to obtain the content ofAttachmentPart
as Base64 encoded character data, this method would base64 encode the raw bytes of the attachment and return.SOAPEnvelope.getBody()
Returns theSOAPBody
object associated with thisSOAPEnvelope
object.abstract Object
AttachmentPart.getContent()
Gets the content of thisAttachmentPart
object as a Java object.abstract Source
SOAPPart.getContent()
Returns the content of the SOAPEnvelope as a JAXPSource
object.abstract jakarta.activation.DataHandler
AttachmentPart.getDataHandler()
Gets theDataHandler
object for thisAttachmentPart
object.abstract SOAPEnvelope
SOAPPart.getEnvelope()
Gets theSOAPEnvelope
object associated with thisSOAPPart
object.SOAPFault.getFaultReasonLocales()
Returns anIterator
over a distinct sequence ofLocale
s for which there are associated Reason Text items.SOAPFault.getFaultReasonText
(Locale locale) Returns the Reason Text associated with the givenLocale
.SOAPFault.getFaultReasonTexts()
Returns anIterator
over a sequence ofString
objects containing all the Reason Text items for thisSOAPFault
.SOAPEnvelope.getHeader()
Returns theSOAPHeader
object for thisSOAPEnvelope
object.SOAPMessage.getProperty
(String property) Retrieves value of the specified property.abstract InputStream
AttachmentPart.getRawContent()
Gets the content of thisAttachmentPart
object as an InputStream as if a call had been made togetContent
and noDataContentHandler
had been registered for thecontent-type
of thisAttachmentPart
.abstract byte[]
AttachmentPart.getRawContentBytes()
Gets the content of thisAttachmentPart
object as a byte[] array as if a call had been made togetContent
and noDataContentHandler
had been registered for thecontent-type
of thisAttachmentPart
.abstract int
AttachmentPart.getSize()
Returns the number of bytes in thisAttachmentPart
object.SOAPMessage.getSOAPBody()
Gets the SOAP Body contained in thisSOAPMessage
object.SOAPMessage.getSOAPHeader()
Gets the SOAP Header contained in thisSOAPMessage
object.static MessageFactory
MessageFactory.newInstance()
Creates a newMessageFactory
object that is an instance of the default implementation (SOAP 1.1).static MessageFactory
MessageFactory.newInstance
(String protocol) Creates a newMessageFactory
object that is an instance of the specified implementation.static SOAPConnectionFactory
SOAPConnectionFactory.newInstance()
Creates an instance of the defaultSOAPConnectionFactory
object.static SOAPFactory
SOAPFactory.newInstance()
Creates a newSOAPFactory
object that is an instance of the default implementation (SOAP 1.1).static SOAPFactory
SOAPFactory.newInstance
(String protocol) Creates a newSOAPFactory
object that is an instance of the specified implementation, this method uses the SAAJMetaFactory to locate the implementation class and create the SOAPFactory instance.protected abstract MessageFactory
SAAJMetaFactory.newMessageFactory
(String protocol) Creates aMessageFactory
object for the givenString
protocol.protected abstract SOAPFactory
SAAJMetaFactory.newSOAPFactory
(String protocol) Creates aSOAPFactory
object for the givenString
protocol.abstract void
SOAPMessage.saveChanges()
Updates thisSOAPMessage
object with all the changes that have been made to it.abstract void
AttachmentPart.setBase64Content
(InputStream content, String contentType) Sets the content of this attachment part from the Base64 sourceInputStream
and sets the value of theContent-Type
header to the value contained incontentType
, This method would first decode the base64 input and write the resulting raw bytes to the attachment.abstract void
SOAPPart.setContent
(Source source) Sets the content of theSOAPEnvelope
object with the data from the givenSource
object.SOAPElement.setElementQName
(QName newName) Changes the name of thisElement
tonewName
if possible.void
SOAPElement.setEncodingStyle
(String encodingStyle) Sets the encoding style for thisSOAPElement
object to one specified.void
SOAPFault.setFaultActor
(String faultActor) Sets thisSOAPFault
object with the given fault actor.void
SOAPFault.setFaultCode
(Name faultCodeQName) Sets thisSOAPFault
object with the given fault code.void
SOAPFault.setFaultCode
(String faultCode) Sets thisSOAPFault
object with the give fault code.void
SOAPFault.setFaultCode
(QName faultCodeQName) Sets thisSOAPFault
object with the given fault code.void
SOAPFault.setFaultNode
(String uri) Creates or replaces any existing Node element value for thisSOAPFault
object.void
SOAPFault.setFaultRole
(String uri) Creates or replaces any existing Role element value for thisSOAPFault
object.void
SOAPFault.setFaultString
(String faultString) Sets the fault string for thisSOAPFault
object to the given string.void
SOAPFault.setFaultString
(String faultString, Locale locale) Sets the fault string for thisSOAPFault
object to the given string and localized to the given locale.void
Node.setParentElement
(SOAPElement parent) Sets the parent of thisNode
object to the givenSOAPElement
object.void
SOAPMessage.setProperty
(String property, Object value) Associates the specified value with the specified property.abstract void
AttachmentPart.setRawContent
(InputStream content, String contentType) Sets the content of this attachment part to that contained by theInputStream
content
and sets the value of theContent-Type
header to the value contained incontentType
.abstract void
AttachmentPart.setRawContentBytes
(byte[] content, int offset, int len, String contentType) Sets the content of this attachment part to that contained by thebyte[]
arraycontent
and sets the value of theContent-Type
header to the value contained incontentType
.void
SOAPHeaderElement.setRelay
(boolean relay) Sets the relay attribute for thisSOAPHeaderElement
to be either true or false.void
Sets theRole
associated with thisSOAPHeaderElement
object to the specifiedRole
.abstract void
SOAPMessage.writeTo
(OutputStream out) Writes thisSOAPMessage
object to the given output stream.ModifierConstructorDescriptionCreates aSAAJResult
that will present results in the form of a SAAJ tree that supports the default (SOAP 1.1) protocol.SAAJResult
(String protocol) Creates aSAAJResult
that will present results in the form of a SAAJ tree that supports the specified protocol.