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 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.SOAPElement.addChildElement
(String localName) Creates a newSOAPElement
object initialized with the givenString
object 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
(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.SOAPFault.addDetail()
Creates aDetail
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.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.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.SOAPElement.addNamespaceDeclaration
(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to thisSOAPElement
object.SOAPElement.addTextNode
(String text) Creates a newText
object initialized with the givenString
and adds it to thisSOAPElement
object.abstract SOAPMessage
SOAPConnection.call
(SOAPMessage request, Object endpoint) Sends the given message to the specified endpoint and blocks until it has returned the response.abstract void
SOAPConnection.close()
Closes thisSOAPConnection
object.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 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
(String localName) Create aSOAPElement
object initialized with the given local name.abstract SOAPElement
SOAPFactory.createElement
(String localName, String prefix, String uri) Create a newSOAPElement
object with the given local name, prefix and uri.abstract SOAPElement
SOAPFactory.createElement
(Name name) Create aSOAPElement
object initialized with the givenName
object.abstract SOAPMessage
MessageFactory.createMessage()
Creates a newSOAPMessage
object with the defaultSOAPPart
,SOAPEnvelope
,SOAPBody
, andSOAPHeader
objects.abstract SOAPMessage
MessageFactory.createMessage
(MimeHeaders mimeheaders, InputStream inputstream) 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 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.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.SOAPEnvelope.getHeader()
Returns theSOAPHeader
object for thisSOAPEnvelope
object.SOAPMessage.getProperty
(String property) Retrieves value of the specified property.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.static SOAPConnectionFactory
SOAPConnectionFactory.newInstance()
Creates an instance of the defaultSOAPConnectionFactory
object.static SOAPElementFactory
SOAPElementFactory.newInstance()
Deprecated.Creates a new instance ofSOAPElementFactory
.static SOAPFactory
SOAPFactory.newInstance()
Creates a new instance ofSOAPFactory
.abstract void
SOAPMessage.saveChanges()
Updates thisSOAPMessage
object with all the changes that have been made to it.abstract void
SOAPPart.setContent
(Source source) Sets the content of theSOAPEnvelope
object with the data from the givenSource
object.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
(String faultCode) Sets thisSOAPFault
object with the given fault code.void
SOAPFault.setFaultCode
(Name name) Sets thisSOAPFault
object with the given fault code.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
SOAPMessage.writeTo
(OutputStream out) Writes thisSOAPMessage
object 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 JAXPSource
object.SOAPPart.getEnvelope()
Gets theSOAPEnvelope
object associated with thisSOAPPart
object.Message.getProperty
(String property) Message.getSOAPBody()
Message.getSOAPHeader()
void
Message.saveChanges()
Updates thisSOAPMessage
object with all the changes that have been made to it.void
SOAPPart.setContent
(Source source) Sets the content of theSOAPEnvelope
object with the data from the givenSource
object.void
Message.setProperty
(String property, Object value) void
Message.writeTo
(OutputStream os) Writes thisSOAPMessage
object 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 thisAttachmentPart
object as a Java object.AttachmentPart.getDataHandler()
Gets theDataHandler
object for thisAttachmentPart
object.int
AttachmentPart.getSize()
Returns the number of bytes in thisAttachmentPart
object. -
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) void
MessageElement.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.void
SOAPBody.addChild
(MessageElement element) void
SOAPHeader.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 aDetail
object and sets it as theDetail
object for thisSOAPFaultException
object.Detail.addDetailEntry
(Name name) Creates a newDetailEntry
object with the given name and adds it to thisDetail
object.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 aMapping
mapping 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 headervoid
MessageElement.setEncodingStyle
(String encodingStyle) Sets the encoding style for thisSOAPElement
object to one specified.void
SOAPBody.setEncodingStyle
(String encodingStyle) void
SOAPFault.setFaultActor
(String faultActor) Sets thisSOAPFaultException
object with the given fault actor.void
SOAPFault.setFaultCode
(String faultCode) Sets thisSOAPFaultException
object with the given fault code.void
SOAPFault.setFaultCode
(Name faultCodeQName) void
SOAPFault.setFaultString
(String faultString) Sets the fault string for thisSOAPFaultException
object to the given string.void
SOAPFault.setFaultString
(String faultString, Locale locale) void
MessageElement.setObjectValue
(Object newValue) Sets value of this node to an Object.protected void
Set the parent node and invoke appendChild(this) to add this node to the parent's list of children.void
NodeImpl.setParentElement
(SOAPElement parent) Sets the parent of thisNode
object to the givenSOAPElement
object.void
SOAPBody.setParentElement
(SOAPElement parent) void
SOAPBodyElement.setParentElement
(SOAPElement parent) void
SOAPHeader.setParentElement
(SOAPElement parent) void
SOAPHeaderElement.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.void
SOAPConnectionImpl.close()
Closes thisSOAPConnection
object.SOAPConnectionFactoryImpl.createConnection()
Create a newSOAPConnection
.SOAPFactoryImpl.createDetail()
SOAPFactoryImpl.createElement
(String localName) Create aSOAPElement
object initialized with the given local name.SOAPFactoryImpl.createElement
(String localName, String prefix, String uri) Create a newSOAPElement
object with the given local name, prefix and uri.SOAPFactoryImpl.createElement
(Name name) Create aSOAPElement
object initialized with the givenName
object.MessageFactoryImpl.createMessage()
Creates a newSOAPMessage
object with the defaultSOAPPart
,SOAPEnvelope
,SOAPBody
, andSOAPHeader
objects.MessageFactoryImpl.createMessage
(MimeHeaders mimeheaders, InputStream inputstream) Internalizes the contents of the givenInputStream
object into a newSOAPMessage
object and returns theSOAPMessage
object.SOAPFactoryImpl.createName
(String localName) SOAPFactoryImpl.createName
(String localName, String prefix, String uri)