Uses of Class
jakarta.xml.soap.SOAPException
Packages that use SOAPException
-
Uses of SOAPException in jakarta.xml.soap
Methods in jakarta.xml.soap that throw SOAPExceptionModifier 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 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 of 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.Constructors in jakarta.xml.soap that throw SOAPExceptionModifierConstructorDescriptionCreates 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.