Uses of Class
jakarta.xml.soap.SOAPException
Packages that use SOAPException
Package
Description
Provides the API for creating and building SOAP messages.
-
Uses of SOAPException in com.sun.xml.messaging.saaj
Subclasses of SOAPException in com.sun.xml.messaging.saajModifier and TypeClassDescriptionclassAn exception that signals that a SOAP exception has occurred. -
Uses of SOAPException in com.sun.xml.messaging.saaj.client.p2p
Methods in com.sun.xml.messaging.saaj.client.p2p that throw SOAPException -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap
Subclasses of SOAPException in com.sun.xml.messaging.saaj.soapMethods in com.sun.xml.messaging.saaj.soap that throw SOAPExceptionModifier and TypeMethodDescriptionstatic voidAttachmentPartImpl.copyMimeHeaders(MimeBodyPart mbp, AttachmentPartImpl ap) static voidAttachmentPartImpl.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 EnvelopeSOAPPartImpl.createEmptyEnvelope(String prefix) static EnvelopeEnvelopeFactory.createEnvelope(Source src, SOAPPartImpl soapPart) protected abstract EnvelopeSOAPPartImpl.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.DataHandlerAttachmentPartImpl.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()intAttachmentPartImpl.getSize()MessageImpl.getSOAPBody()MessageImpl.getSOAPHeader()Envelope.getStaxBridge()protected voidSOAPPartImpl.lookForEnvelope()protected XMLDeclarationParserSOAPPartImpl.lookForXmlDecl()protected MessageFactorySAAJMetaFactoryImpl.newMessageFactory(String protocol) protected SOAPFactorySAAJMetaFactoryImpl.newSOAPFactory(String protocol) voidMessageImpl.saveChanges()voidAttachmentPartImpl.setBase64Content(InputStream content, String contentType) voidSOAPPartImpl.setContent(Source source) voidSOAPDocumentImpl.setParentElement(SOAPElement parent) voidSOAPPartImpl.setParentElement(SOAPElement parent) voidAttachmentPartImpl.setRawContent(InputStream content, String contentType) voidAttachmentPartImpl.setRawContentBytes(byte[] content, int off, int len, String contentType) voidEnvelope.setStaxBridge(StaxBridge bridge) voidLazyEnvelope.writeTo(XMLStreamWriter writer) voidMessageImpl.writeTo(OutputStream out) Constructors in com.sun.xml.messaging.saaj.soap that throw SOAPExceptionModifierConstructorDescriptionprotectedStaxBridge(SOAPPartImpl soapPart) StaxLazySourceBridge(LazyEnvelopeSource src, SOAPPartImpl soapPart) StaxReaderBridge(XMLStreamReader reader, SOAPPartImpl soapPart) -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.dynamic
Methods in com.sun.xml.messaging.saaj.soap.dynamic that throw SOAPExceptionModifier and TypeMethodDescriptionSOAPFactoryDynamicImpl.createDetail()SOAPMessageFactoryDynamicImpl.createMessage() -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.impl
Methods in com.sun.xml.messaging.saaj.soap.impl that throw SOAPExceptionModifier and TypeMethodDescriptionElementImpl.addAttribute(Name name, String value) ElementImpl.addAttribute(QName qname, String value) EnvelopeImpl.addBody()BodyImpl.addBodyElement(Name name) BodyImpl.addBodyElement(QName qname) protected SOAPElementElementImpl.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 SOAPElementBodyImpl.addElement(Name name) protected SOAPElementBodyImpl.addElement(QName name) protected SOAPElementDetailImpl.addElement(Name name) protected SOAPElementDetailImpl.addElement(QName name) protected SOAPElementElementImpl.addElement(Name name) protected SOAPElementElementImpl.addElement(QName name) protected SOAPElementEnvelopeImpl.addElement(Name name) protected SOAPElementEnvelopeImpl.addElement(QName name) protected SOAPElementFaultImpl.addElement(Name name) protected SOAPElementFaultImpl.addElement(QName name) protected SOAPElementHeaderImpl.addElement(Name name) protected SOAPElementHeaderImpl.addElement(QName name) BodyImpl.addFault()protected SOAPFaultElementFaultImpl.addFaultCodeElement()EnvelopeImpl.addHeader()HeaderImpl.addHeaderElement(Name name) HeaderImpl.addHeaderElement(QName name) ElementImpl.addNamespaceDeclaration(String prefix, String uri) protected voidprotected FaultElementImplFaultImpl.addSOAPFaultElement(String localName) protected SOAPElementElementImpl.addTextNode(String text) HeaderImpl.addUpgradeHeaderElement(String supportedSoapUri) HeaderImpl.addUpgradeHeaderElement(String[] supportedSoapUris) HeaderImpl.addUpgradeHeaderElement(Iterator<String> supportedSoapUris) protected abstract voidFaultImpl.checkIfStandardFaultCode(String faultCode, String uri) protected abstract SOAPHeaderElementHeaderImpl.createHeaderElement(Name name) protected abstract SOAPHeaderElementHeaderImpl.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 voidFaultImpl.finallySetFaultCode(String faultcode) protected voidElementImpl.findEncodingStyleAttributeName()EnvelopeImpl.getBody()EnvelopeImpl.getHeader()EnvelopeImpl.getPayloadAttributeValue(String localName) EnvelopeImpl.getPayloadAttributeValue(QName qName) EnvelopeImpl.getPayloadQName()EnvelopeImpl.getPayloadReader()EnvelopeImpl.getStaxBridge()protected voidEnvelopeImpl.lookForBody()protected voidEnvelopeImpl.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) voidElementImpl.setEncodingStyle(String encodingStyle) protected voidElementImpl.setEncodingStyleNamespace(String soapNamespace, String soapNamespacePrefix) abstract voidFaultImpl.setFaultActor(String faultActor) voidFaultImpl.setFaultCode(Name faultCodeQName) voidFaultImpl.setFaultCode(String faultCode) voidFaultImpl.setFaultCode(String faultCode, String prefix, String uri) voidFaultImpl.setFaultCode(QName faultCodeQName) voidAttrImpl.setParentElement(SOAPElement parent) voidBodyElementImpl.setParentElement(SOAPElement element) voidBodyImpl.setParentElement(SOAPElement element) voidElementImpl.setParentElement(SOAPElement element) voidHeaderElementImpl.setParentElement(SOAPElement element) voidHeaderImpl.setParentElement(SOAPElement element) voidTextImpl.setParentElement(SOAPElement parent) voidHeaderElementImpl.setRelay(boolean relay) voidvoidEnvelopeImpl.setStaxBridge(StaxBridge bridge) voidEnvelopeImpl.writeTo(XMLStreamWriter writer) Constructors in com.sun.xml.messaging.saaj.soap.impl that throw SOAPExceptionModifierConstructorDescriptionprotectedEnvelopeImpl(SOAPDocumentImpl ownerDoc, NameImpl name, boolean createHeader, boolean createBody) -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.ver1_1
Methods in com.sun.xml.messaging.saaj.soap.ver1_1 that throw SOAPExceptionModifier and TypeMethodDescriptionFault1_1Impl.addChildElement(SOAPElement element) voidFault1_1Impl.addFaultReasonText(String text, Locale locale) Header1_1Impl.addNotUnderstoodHeaderElement(QName name) protected voidFault1_1Impl.checkIfStandardFaultCode(String faultCode, String uri) SOAPFactory1_1Impl.createDetail()protected EnvelopeSOAPPart1_1Impl.createEmptyEnvelope(String prefix) protected EnvelopeSOAPPart1_1Impl.createEnvelopeFromSource()SOAPFactory1_1Impl.createFault()SOAPFactory1_1Impl.createFault(String reasonText, QName faultCode) SOAPMessageFactory1_1Impl.createMessage()SOAPMessageFactory1_1Impl.createMessage(boolean isFastInfoset, boolean acceptFastInfoset) protected voidFault1_1Impl.finallySetFaultCode(String faultcode) BodyElement1_1Impl.setElementQName(QName newName) DetailEntry1_1Impl.setElementQName(QName newName) FaultElement1_1Impl.setElementQName(QName newName) HeaderElement1_1Impl.setElementQName(QName newName) voidFault1_1Impl.setFaultActor(String faultActor) voidFault1_1Impl.setFaultCode(String faultCode, String prefix, String uri) voidFault1_1Impl.setFaultString(String faultString) voidFault1_1Impl.setFaultString(String faultString, Locale locale) -
Uses of SOAPException in com.sun.xml.messaging.saaj.soap.ver1_2
Methods in com.sun.xml.messaging.saaj.soap.ver1_2 that throw SOAPExceptionModifier 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 SOAPElementBody1_2Impl.addElement(Name name) protected SOAPElementBody1_2Impl.addElement(QName name) Body1_2Impl.addFault()voidFault1_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) voidFault1_2Impl.appendFaultSubcode(QName subcode) protected voidFault1_2Impl.checkIfStandardFaultCode(String faultCode, String uri) SOAPFactory1_2Impl.createDetail()protected EnvelopeSOAPPart1_2Impl.createEmptyEnvelope(String prefix) protected EnvelopeSOAPPart1_2Impl.createEnvelopeFromSource()SOAPFactory1_2Impl.createFault()SOAPFactory1_2Impl.createFault(String reasonText, QName faultCode) protected SOAPHeaderElementHeader1_2Impl.createHeaderElement(Name name) protected SOAPHeaderElementHeader1_2Impl.createHeaderElement(QName name) SOAPMessageFactory1_2Impl.createMessage()SOAPMessageFactory1_2Impl.createMessage(boolean isFastInfoset, boolean acceptFastInfoset) protected voidFault1_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) voidBody1_2Impl.setEncodingStyle(String encodingStyle) voidDetail1_2Impl.setEncodingStyle(String encodingStyle) voidEnvelope1_2Impl.setEncodingStyle(String encodingStyle) voidFault1_2Impl.setEncodingStyle(String encodingStyle) voidFaultElement1_2Impl.setEncodingStyle(String encodingStyle) voidHeader1_2Impl.setEncodingStyle(String encodingStyle) voidFault1_2Impl.setFaultActor(String faultActor) voidFault1_2Impl.setFaultNode(String uri) voidFault1_2Impl.setFaultRole(String uri) voidFault1_2Impl.setFaultString(String faultString) voidFault1_2Impl.setFaultString(String faultString, Locale locale) Constructors in com.sun.xml.messaging.saaj.soap.ver1_2 that throw SOAPExceptionModifierConstructorDescriptionEnvelope1_2Impl(SOAPDocumentImpl ownerDoc, String prefix, boolean createHeader, boolean createBody) -
Uses of SOAPException in com.sun.xml.messaging.saaj.util
Constructors in com.sun.xml.messaging.saaj.util that throw SOAPException -
Uses of SOAPException in com.sun.xml.messaging.saaj.util.stax
Methods in com.sun.xml.messaging.saaj.util.stax that throw SOAPExceptionConstructors in com.sun.xml.messaging.saaj.util.stax that throw SOAPExceptionModifierConstructorDescriptionSaajStaxWriter(SOAPMessage msg, String uri) SaajStaxWriterEx(SOAPMessage msg, String uri) -
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 thisSOAPElementobject.SOAPElement.addAttribute(QName qname, String value) Adds an attribute with the specified name and value to thisSOAPElementobject.SOAPEnvelope.addBody()Creates aSOAPBodyobject and sets it as theSOAPBodyobject for thisSOAPEnvelopeobject.SOAPBody.addBodyElement(Name name) Creates a newSOAPBodyElementobject with the specified name and adds it to thisSOAPBodyobject.SOAPBody.addBodyElement(QName qname) Creates a newSOAPBodyElementobject with the specified QName and adds it to thisSOAPBodyobject.SOAPElement.addChildElement(Name name) Creates a newSOAPElementobject initialized with the givenNameobject and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(SOAPElement element) Add aSOAPElementas a child of thisSOAPElementinstance.SOAPElement.addChildElement(String localName) Creates a newSOAPElementobject initialized with the specified local name and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(String localName, String prefix) Creates a newSOAPElementobject initialized with the specified local name and prefix and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(String localName, String prefix, String uri) Creates a newSOAPElementobject initialized with the specified local name, prefix, and URI and adds the new element to thisSOAPElementobject.SOAPElement.addChildElement(QName qname) Creates a newSOAPElementobject initialized with the givenQNameobject and adds the new element to thisSOAPElementobject.SOAPFault.addDetail()Creates an optionalDetailobject and sets it as theDetailobject for thisSOAPFaultobject.Detail.addDetailEntry(Name name) Creates a newDetailEntryobject with the given name and adds it to thisDetailobject.Detail.addDetailEntry(QName qname) Creates a newDetailEntryobject with the given QName and adds it to thisDetailobject.SOAPBody.addDocument(Document document) Adds the root node of the DOMDocumentto thisSOAPBodyobject.SOAPBody.addFault()Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.Creates a newSOAPFaultobject and adds it to thisSOAPBodyobject.voidSOAPFault.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 aSOAPHeaderobject and sets it as theSOAPHeaderobject for thisSOAPEnvelopeobject.SOAPHeader.addHeaderElement(Name name) Creates a newSOAPHeaderElementobject initialized with the specified name and adds it to thisSOAPHeaderobject.SOAPHeader.addHeaderElement(QName qname) Creates a newSOAPHeaderElementobject initialized with the specified qname and adds it to thisSOAPHeaderobject.SOAPElement.addNamespaceDeclaration(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to thisSOAPElementobject.SOAPHeader.addNotUnderstoodHeaderElement(QName name) Creates a new NotUnderstoodSOAPHeaderElementobject initialized with the specified name and adds it to thisSOAPHeaderobject.SOAPElement.addTextNode(String text) Creates a newTextobject initialized with the givenStringand adds it to thisSOAPElementobject.SOAPHeader.addUpgradeHeaderElement(String supportedSoapUri) Creates a new UpgradeSOAPHeaderElementobject initialized with the specified supported SOAP URI and adds it to thisSOAPHeaderobject.SOAPHeader.addUpgradeHeaderElement(String[] supportedSoapUris) Creates a new UpgradeSOAPHeaderElementobject initialized with the specified array of supported SOAP URIs and adds it to thisSOAPHeaderobject.SOAPHeader.addUpgradeHeaderElement(Iterator<String> supportedSOAPURIs) Creates a new UpgradeSOAPHeaderElementobject initialized with the specified List of supported SOAP URIs and adds it to thisSOAPHeaderobject.voidSOAPFault.appendFaultSubcode(QName subcode) Adds a Subcode to the end of the sequence of Subcodes contained by thisSOAPFault.abstract SOAPMessageSOAPConnection.call(SOAPMessage request, Object to) Sends the given message to the specified endpoint and blocks until it has returned the response.abstract voidSOAPConnection.close()Closes thisSOAPConnectionobject.abstract SOAPConnectionSOAPConnectionFactory.createConnection()Create a newSOAPConnection.abstract DetailSOAPFactory.createDetail()Creates a newDetailobject which serves as a container forDetailEntryobjects.abstract SOAPElementSOAPFactory.createElement(Name name) Creates aSOAPElementobject initialized with the givenNameobject.abstract SOAPElementSOAPFactory.createElement(String localName) Creates aSOAPElementobject initialized with the given local name.abstract SOAPElementSOAPFactory.createElement(String localName, String prefix, String uri) Creates a newSOAPElementobject with the given local name, prefix and uri.SOAPFactory.createElement(QName qname) Creates aSOAPElementobject initialized with the givenQNameobject.SOAPFactory.createElement(Element domElement) Creates aSOAPElementobject from an existing DOMElement.abstract SOAPFaultSOAPFactory.createFault()Creates a new defaultSOAPFaultobjectabstract SOAPFaultSOAPFactory.createFault(String reasonText, QName faultCode) Creates a newSOAPFaultobject initialized with the givenreasonTextandfaultCodeabstract SOAPMessageMessageFactory.createMessage()Creates a newSOAPMessageobject with the defaultSOAPPart,SOAPEnvelope,SOAPBody, andSOAPHeaderobjects.abstract SOAPMessageMessageFactory.createMessage(MimeHeaders headers, InputStream in) Internalizes the contents of the givenInputStreamobject into a newSOAPMessageobject and returns theSOAPMessageobject.SOAPEnvelope.createName(String localName) Creates a newNameobject initialized with the given local name.SOAPEnvelope.createName(String localName, String uri) Creates a newNameobject initialized with the given local name and namespace prefix.SOAPEnvelope.createName(String localName, String prefix, String uri) Creates a newNameobject initialized with the given local name, namespace prefix, and namespace URI.abstract NameSOAPFactory.createName(String localName) Creates a newNameobject initialized with the given local name.abstract NameSOAPFactory.createName(String localName, String prefix, String uri) Creates a newNameobject initialized with the given local name, namespace prefix, and namespace URI.SOAPElement.createQName(String localName, String prefix) Creates aQNamewhose namespace URI is the one associated with the parameter,prefix, in the context of thisSOAPElement.SOAPBody.extractContentAsDocument()Creates a new DOMDocumentand sets the first child of thisSOAPBodyas it's document element.Gets a message from a specific endpoint and blocks until it receives,abstract AttachmentPartSOAPMessage.getAttachment(SOAPElement element) Returns anAttachmentPartobject that is associated with an attachment that is referenced by thisSOAPElementornullif no such attachment exists.abstract InputStreamAttachmentPart.getBase64Content()Returns anInputStreamwhich can be used to obtain the content ofAttachmentPartas Base64 encoded character data, this method would base64 encode the raw bytes of the attachment and return.SOAPEnvelope.getBody()Returns theSOAPBodyobject associated with thisSOAPEnvelopeobject.abstract ObjectAttachmentPart.getContent()Gets the content of thisAttachmentPartobject as a Java object.abstract SourceSOAPPart.getContent()Returns the content of the SOAPEnvelope as a JAXPSourceobject.abstract jakarta.activation.DataHandlerAttachmentPart.getDataHandler()Gets theDataHandlerobject for thisAttachmentPartobject.abstract SOAPEnvelopeSOAPPart.getEnvelope()Gets theSOAPEnvelopeobject associated with thisSOAPPartobject.SOAPFault.getFaultReasonLocales()Returns anIteratorover a distinct sequence ofLocales for which there are associated Reason Text items.SOAPFault.getFaultReasonText(Locale locale) Returns the Reason Text associated with the givenLocale.SOAPFault.getFaultReasonTexts()Returns anIteratorover a sequence ofStringobjects containing all the Reason Text items for thisSOAPFault.SOAPEnvelope.getHeader()Returns theSOAPHeaderobject for thisSOAPEnvelopeobject.SOAPMessage.getProperty(String property) Retrieves value of the specified property.abstract InputStreamAttachmentPart.getRawContent()Gets the content of thisAttachmentPartobject as an InputStream as if a call had been made togetContentand noDataContentHandlerhad been registered for thecontent-typeof thisAttachmentPart.abstract byte[]AttachmentPart.getRawContentBytes()Gets the content of thisAttachmentPartobject as a byte[] array as if a call had been made togetContentand noDataContentHandlerhad been registered for thecontent-typeof thisAttachmentPart.abstract intAttachmentPart.getSize()Returns the number of bytes in thisAttachmentPartobject.SOAPMessage.getSOAPBody()Gets the SOAP Body contained in thisSOAPMessageobject.SOAPMessage.getSOAPHeader()Gets the SOAP Header contained in thisSOAPMessageobject.static MessageFactoryMessageFactory.newInstance()Creates a newMessageFactoryobject that is an instance of the default implementation (SOAP 1.1).static MessageFactoryMessageFactory.newInstance(String protocol) Creates a newMessageFactoryobject that is an instance of the specified implementation.static SOAPConnectionFactorySOAPConnectionFactory.newInstance()Creates an instance of the defaultSOAPConnectionFactoryobject.static SOAPFactorySOAPFactory.newInstance()Creates a newSOAPFactoryobject that is an instance of the default implementation (SOAP 1.1).static SOAPFactorySOAPFactory.newInstance(String protocol) Creates a newSOAPFactoryobject 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 MessageFactorySAAJMetaFactory.newMessageFactory(String protocol) Creates aMessageFactoryobject for the givenStringprotocol.protected abstract SOAPFactorySAAJMetaFactory.newSOAPFactory(String protocol) Creates aSOAPFactoryobject for the givenStringprotocol.abstract voidSOAPMessage.saveChanges()Updates thisSOAPMessageobject with all the changes that have been made to it.abstract voidAttachmentPart.setBase64Content(InputStream content, String contentType) Sets the content of this attachment part from the Base64 sourceInputStreamand sets the value of theContent-Typeheader to the value contained incontentType, This method would first decode the base64 input and write the resulting raw bytes to the attachment.abstract voidSOAPPart.setContent(Source source) Sets the content of theSOAPEnvelopeobject with the data from the givenSourceobject.SOAPElement.setElementQName(QName newName) Changes the name of thisElementtonewNameif possible.voidSOAPElement.setEncodingStyle(String encodingStyle) Sets the encoding style for thisSOAPElementobject to one specified.voidSOAPFault.setFaultActor(String faultActor) Sets thisSOAPFaultobject with the given fault actor.voidSOAPFault.setFaultCode(Name faultCodeQName) Sets thisSOAPFaultobject with the given fault code.voidSOAPFault.setFaultCode(String faultCode) Sets thisSOAPFaultobject with the give fault code.voidSOAPFault.setFaultCode(QName faultCodeQName) Sets thisSOAPFaultobject with the given fault code.voidSOAPFault.setFaultNode(String uri) Creates or replaces any existing Node element value for thisSOAPFaultobject.voidSOAPFault.setFaultRole(String uri) Creates or replaces any existing Role element value for thisSOAPFaultobject.voidSOAPFault.setFaultString(String faultString) Sets the fault string for thisSOAPFaultobject to the given string.voidSOAPFault.setFaultString(String faultString, Locale locale) Sets the fault string for thisSOAPFaultobject to the given string and localized to the given locale.voidNode.setParentElement(SOAPElement parent) Sets the parent of thisNodeobject to the givenSOAPElementobject.voidSOAPMessage.setProperty(String property, Object value) Associates the specified value with the specified property.abstract voidAttachmentPart.setRawContent(InputStream content, String contentType) Sets the content of this attachment part to that contained by theInputStreamcontentand sets the value of theContent-Typeheader to the value contained incontentType.abstract voidAttachmentPart.setRawContentBytes(byte[] content, int offset, int len, String contentType) Sets the content of this attachment part to that contained by thebyte[]arraycontentand sets the value of theContent-Typeheader to the value contained incontentType.voidSOAPHeaderElement.setRelay(boolean relay) Sets the relay attribute for thisSOAPHeaderElementto be either true or false.voidSets theRoleassociated with thisSOAPHeaderElementobject to the specifiedRole.abstract voidSOAPMessage.writeTo(OutputStream out) Writes thisSOAPMessageobject to the given output stream.Constructors in jakarta.xml.soap that throw SOAPExceptionModifierConstructorDescriptionCreates aSAAJResultthat will present results in the form of a SAAJ tree that supports the default (SOAP 1.1) protocol.SAAJResult(String protocol) Creates aSAAJResultthat will present results in the form of a SAAJ tree that supports the specified protocol.