Uses of Class
javax.xml.soap.SOAPException
Packages that use SOAPException
Package
Description
-
Uses of SOAPException in javax.xml.soap
Methods in javax.xml.soap that throw SOAPExceptionModifier and TypeMethodDescriptionSOAPElement.addAttribute(Name name, 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.SOAPElement.addChildElement(String localName) Creates a newSOAPElementobject initialized with the givenStringobject 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(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.SOAPFault.addDetail()Creates aDetailobject and sets it as theDetailobject for thisSOAPFaultobject.Detail.addDetailEntry(Name name) Creates a newDetailEntryobject with the given name 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.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.SOAPElement.addNamespaceDeclaration(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to thisSOAPElementobject.SOAPElement.addTextNode(String text) Creates a newTextobject initialized with the givenStringand adds it to thisSOAPElementobject.abstract SOAPMessageSOAPConnection.call(SOAPMessage request, Object endpoint) Sends the given message to the specified endpoint and blocks until it has returned the response.abstract voidSOAPConnection.close()Closes thisSOAPConnectionobject.Deprecated.Use javax.xml.soap.SOAPFactory.createElement(String localName) insteadDeprecated.Use javax.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) insteadDeprecated.Use javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name) insteadabstract SOAPConnectionSOAPConnectionFactory.createConnection()Create a newSOAPConnection.abstract DetailSOAPFactory.createDetail()Creates a newDetailobject which serves as a container forDetailEntryobjects.abstract SOAPElementSOAPFactory.createElement(String localName) Create aSOAPElementobject initialized with the given local name.abstract SOAPElementSOAPFactory.createElement(String localName, String prefix, String uri) Create a newSOAPElementobject with the given local name, prefix and uri.abstract SOAPElementSOAPFactory.createElement(Name name) Create aSOAPElementobject initialized with the givenNameobject.abstract SOAPMessageMessageFactory.createMessage()Creates a newSOAPMessageobject with the defaultSOAPPart,SOAPEnvelope,SOAPBody, andSOAPHeaderobjects.abstract SOAPMessageMessageFactory.createMessage(MimeHeaders mimeheaders, InputStream inputstream) 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 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.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.SOAPEnvelope.getHeader()Returns theSOAPHeaderobject for thisSOAPEnvelopeobject.SOAPMessage.getProperty(String property) Retrieves value of the specified property.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.static SOAPConnectionFactorySOAPConnectionFactory.newInstance()Creates an instance of the defaultSOAPConnectionFactoryobject.static SOAPElementFactorySOAPElementFactory.newInstance()Deprecated.Creates a new instance ofSOAPElementFactory.static SOAPFactorySOAPFactory.newInstance()Creates a new instance ofSOAPFactory.abstract voidSOAPMessage.saveChanges()Updates thisSOAPMessageobject with all the changes that have been made to it.abstract voidSOAPPart.setContent(Source source) Sets the content of theSOAPEnvelopeobject with the data from the givenSourceobject.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(String faultCode) Sets thisSOAPFaultobject with the given fault code.voidSOAPFault.setFaultCode(Name name) Sets thisSOAPFaultobject with the given fault code.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 voidSOAPMessage.writeTo(OutputStream out) Writes thisSOAPMessageobject to the given output stream. -
Uses of SOAPException in org.apache.axis
Methods in org.apache.axis that throw SOAPExceptionModifier and TypeMethodDescriptionSOAPPart.getContent()Returns the content of the SOAPEnvelope as a JAXPSourceobject.SOAPPart.getEnvelope()Gets theSOAPEnvelopeobject associated with thisSOAPPartobject.Message.getProperty(String property) Message.getSOAPBody()Message.getSOAPHeader()voidMessage.saveChanges()Updates thisSOAPMessageobject with all the changes that have been made to it.voidSOAPPart.setContent(Source source) Sets the content of theSOAPEnvelopeobject with the data from the givenSourceobject.voidMessage.setProperty(String property, Object value) voidMessage.writeTo(OutputStream os) Writes thisSOAPMessageobject to the given output stream. -
Uses of SOAPException in org.apache.axis.attachments
Methods in org.apache.axis.attachments that throw SOAPExceptionModifier and TypeMethodDescriptionAttachmentPart.getContent()Gets the content of thisAttachmentPartobject as a Java object.AttachmentPart.getDataHandler()Gets theDataHandlerobject for thisAttachmentPartobject.intAttachmentPart.getSize()Returns the number of bytes in thisAttachmentPartobject. -
Uses of SOAPException in org.apache.axis.message
Methods in org.apache.axis.message that throw SOAPExceptionModifier and TypeMethodDescriptionMessageElement.addAttribute(Name attrName, String value) add a new attributeSOAPEnvelope.addBody()Add a soap body if one does not existSOAPBody.addBodyElement(Name name) voidMessageElement.addChild(MessageElement el) Note that this method will log a error and no-op if there is a value (set using setObjectValue) in the MessageElement.voidSOAPBody.addChild(MessageElement element) voidSOAPHeader.addChild(MessageElement element) MessageElement.addChildElement(String localName) add a child element in the message element's own namespaceMessageElement.addChildElement(String localName, String prefixName) add a child elementMessageElement.addChildElement(String localName, String childPrefix, String uri) add a child elementMessageElement.addChildElement(Name childName) add the child elementMessageElement.addChildElement(SOAPElement element) The added child must be an instance of MessageElement rather than an abitrary SOAPElement otherwise a (wrapped) ClassCastException will be thrown.SOAPBody.addChildElement(String localName) SOAPBody.addChildElement(String localName, String prefix) SOAPBody.addChildElement(String localName, String prefix, String uri) SOAPBody.addChildElement(Name name) SOAPBody.addChildElement(SOAPElement element) SOAPHeader.addChildElement(String localName) SOAPHeader.addChildElement(String localName, String prefix) SOAPHeader.addChildElement(String localName, String prefix, String uri) SOAPHeader.addChildElement(Name name) SOAPHeader.addChildElement(SOAPElement element) SOAPFault.addDetail()Creates aDetailobject and sets it as theDetailobject for thisSOAPFaultExceptionobject.Detail.addDetailEntry(Name name) Creates a newDetailEntryobject with the given name and adds it to thisDetailobject.SOAPBody.addDocument(Document document) SOAPBody.addFault()SOAPEnvelope.addHeader()Add a soap header if one does not existSOAPHeader.addHeaderElement(Name name) MessageElement.addNamespaceDeclaration(String prefix, String uri) create aMappingmapping and add to our namespace list.MessageElement.addTextNode(String s) add a text node to the document.RPCParam.addTextNode(String s) SOAPEnvelope.createName(String localName) create a Name given the local partSOAPEnvelope.createName(String localName, String prefix, String uri) Create a name given local part, prefix and uriSOAPEnvelope.getBody()Get the soap bodySOAPEnvelope.getHeader()Get the soap headervoidMessageElement.setEncodingStyle(String encodingStyle) Sets the encoding style for thisSOAPElementobject to one specified.voidSOAPBody.setEncodingStyle(String encodingStyle) voidSOAPFault.setFaultActor(String faultActor) Sets thisSOAPFaultExceptionobject with the given fault actor.voidSOAPFault.setFaultCode(String faultCode) Sets thisSOAPFaultExceptionobject with the given fault code.voidSOAPFault.setFaultCode(Name faultCodeQName) voidSOAPFault.setFaultString(String faultString) Sets the fault string for thisSOAPFaultExceptionobject to the given string.voidSOAPFault.setFaultString(String faultString, Locale locale) voidMessageElement.setObjectValue(Object newValue) Sets value of this node to an Object.protected voidSet the parent node and invoke appendChild(this) to add this node to the parent's list of children.voidNodeImpl.setParentElement(SOAPElement parent) Sets the parent of thisNodeobject to the givenSOAPElementobject.voidSOAPBody.setParentElement(SOAPElement parent) voidSOAPBodyElement.setParentElement(SOAPElement parent) voidSOAPHeader.setParentElement(SOAPElement parent) voidSOAPHeaderElement.setParentElement(SOAPElement parent) -
Uses of SOAPException in org.apache.axis.soap
Methods in org.apache.axis.soap that throw SOAPExceptionModifier and TypeMethodDescriptionSOAPConnectionImpl.call(SOAPMessage request, Object endpoint) Sends the given message to the specified endpoint and blocks until it has returned the response.voidSOAPConnectionImpl.close()Closes thisSOAPConnectionobject.SOAPConnectionFactoryImpl.createConnection()Create a newSOAPConnection.SOAPFactoryImpl.createDetail()SOAPFactoryImpl.createElement(String localName) Create aSOAPElementobject initialized with the given local name.SOAPFactoryImpl.createElement(String localName, String prefix, String uri) Create a newSOAPElementobject with the given local name, prefix and uri.SOAPFactoryImpl.createElement(Name name) Create aSOAPElementobject initialized with the givenNameobject.MessageFactoryImpl.createMessage()Creates a newSOAPMessageobject with the defaultSOAPPart,SOAPEnvelope,SOAPBody, andSOAPHeaderobjects.MessageFactoryImpl.createMessage(MimeHeaders mimeheaders, InputStream inputstream) Internalizes the contents of the givenInputStreamobject into a newSOAPMessageobject and returns theSOAPMessageobject.SOAPFactoryImpl.createName(String localName) SOAPFactoryImpl.createName(String localName, String prefix, String uri)