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 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 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 of 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.