Uses of Class
javax.xml.soap.SOAPException
-
Packages that use SOAPException Package Description javax.xml.soap org.apache.axis org.apache.axis.attachments org.apache.axis.message org.apache.axis.soap -
-
Uses of SOAPException in javax.xml.soap
Methods in javax.xml.soap that throw SOAPException Modifier and Type Method Description SOAPElement
SOAPElement. addAttribute(Name name, java.lang.String value)
Adds an attribute with the specified name and value to thisSOAPElement
object.SOAPBody
SOAPEnvelope. addBody()
Creates aSOAPBody
object and sets it as theSOAPBody
object for thisSOAPEnvelope
object.SOAPBodyElement
SOAPBody. addBodyElement(Name name)
Creates a newSOAPBodyElement
object with the specified name and adds it to thisSOAPBody
object.SOAPElement
SOAPElement. addChildElement(java.lang.String localName)
Creates a newSOAPElement
object initialized with the givenString
object and adds the new element to thisSOAPElement
object.SOAPElement
SOAPElement. addChildElement(java.lang.String localName, java.lang.String prefix)
Creates a newSOAPElement
object initialized with the specified local name and prefix and adds the new element to thisSOAPElement
object.SOAPElement
SOAPElement. addChildElement(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
Creates a newSOAPElement
object initialized with the specified local name, prefix, and URI and adds the new element to thisSOAPElement
object.SOAPElement
SOAPElement. addChildElement(Name name)
Creates a newSOAPElement
object initialized with the givenName
object and adds the new element to thisSOAPElement
object.SOAPElement
SOAPElement. addChildElement(SOAPElement element)
Add aSOAPElement
as a child of thisSOAPElement
instance.Detail
SOAPFault. addDetail()
Creates aDetail
object and sets it as theDetail
object for thisSOAPFault
object.DetailEntry
Detail. addDetailEntry(Name name)
Creates a newDetailEntry
object with the given name and adds it to thisDetail
object.SOAPBodyElement
SOAPBody. addDocument(org.w3c.dom.Document document)
Adds the root node of the DOMDocument
to thisSOAPBody
object.SOAPFault
SOAPBody. addFault()
Creates a newSOAPFault
object and adds it to thisSOAPBody
object.SOAPFault
SOAPBody. addFault(Name faultCode, java.lang.String faultString)
Creates a newSOAPFault
object and adds it to thisSOAPBody
object.SOAPFault
SOAPBody. addFault(Name faultCode, java.lang.String faultString, java.util.Locale locale)
Creates a newSOAPFault
object and adds it to thisSOAPBody
object.SOAPHeader
SOAPEnvelope. addHeader()
Creates aSOAPHeader
object and sets it as theSOAPHeader
object for thisSOAPEnvelope
object.SOAPHeaderElement
SOAPHeader. addHeaderElement(Name name)
Creates a newSOAPHeaderElement
object initialized with the specified name and adds it to thisSOAPHeader
object.SOAPElement
SOAPElement. addNamespaceDeclaration(java.lang.String prefix, java.lang.String uri)
Adds a namespace declaration with the specified prefix and URI to thisSOAPElement
object.SOAPElement
SOAPElement. addTextNode(java.lang.String text)
Creates a newText
object initialized with the givenString
and adds it to thisSOAPElement
object.abstract SOAPMessage
SOAPConnection. call(SOAPMessage request, java.lang.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.SOAPElement
SOAPElementFactory. create(java.lang.String localName)
Deprecated.Use javax.xml.soap.SOAPFactory.createElement(String localName) insteadSOAPElement
SOAPElementFactory. create(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
Deprecated.Use javax.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) insteadSOAPElement
SOAPElementFactory. create(Name name)
Deprecated.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(java.lang.String localName)
Create aSOAPElement
object initialized with the given local name.abstract SOAPElement
SOAPFactory. createElement(java.lang.String localName, java.lang.String prefix, java.lang.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, java.io.InputStream inputstream)
Internalizes the contents of the givenInputStream
object into a newSOAPMessage
object and returns theSOAPMessage
object.Name
SOAPEnvelope. createName(java.lang.String localName)
Creates a newName
object initialized with the given local name.Name
SOAPEnvelope. createName(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
Creates a newName
object initialized with the given local name, namespace prefix, and namespace URI.abstract Name
SOAPFactory. createName(java.lang.String localName)
Creates a newName
object initialized with the given local name.abstract Name
SOAPFactory. createName(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
Creates a newName
object initialized with the given local name, namespace prefix, and namespace URI.SOAPBody
SOAPEnvelope. getBody()
Returns theSOAPBody
object associated with thisSOAPEnvelope
object.abstract java.lang.Object
AttachmentPart. getContent()
Gets the content of thisAttachmentPart
object as a Java object.abstract javax.xml.transform.Source
SOAPPart. getContent()
Returns the content of the SOAPEnvelope as a JAXPSource
object.abstract javax.activation.DataHandler
AttachmentPart. getDataHandler()
Gets theDataHandler
object for thisAttachmentPart
object.abstract SOAPEnvelope
SOAPPart. getEnvelope()
Gets theSOAPEnvelope
object associated with thisSOAPPart
object.SOAPHeader
SOAPEnvelope. getHeader()
Returns theSOAPHeader
object for thisSOAPEnvelope
object.java.lang.Object
SOAPMessage. getProperty(java.lang.String property)
Retrieves value of the specified property.abstract int
AttachmentPart. getSize()
Returns the number of bytes in thisAttachmentPart
object.SOAPBody
SOAPMessage. getSOAPBody()
Gets the SOAP Body contained in thisSOAPMessage
object.SOAPHeader
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(javax.xml.transform.Source source)
Sets the content of theSOAPEnvelope
object with the data from the givenSource
object.void
SOAPElement. setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for thisSOAPElement
object to one specified.void
SOAPFault. setFaultActor(java.lang.String faultActor)
Sets thisSOAPFault
object with the given fault actor.void
SOAPFault. setFaultCode(java.lang.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(java.lang.String faultString)
Sets the fault string for thisSOAPFault
object to the given string.void
SOAPFault. setFaultString(java.lang.String faultString, java.util.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(java.lang.String property, java.lang.Object value)
Associates the specified value with the specified property.abstract void
SOAPMessage. writeTo(java.io.OutputStream out)
Writes thisSOAPMessage
object to the given output stream. -
Uses of SOAPException in org.apache.axis
Methods in org.apache.axis that throw SOAPException Modifier and Type Method Description javax.xml.transform.Source
SOAPPart. getContent()
Returns the content of the SOAPEnvelope as a JAXPSource
object.SOAPEnvelope
SOAPPart. getEnvelope()
Gets theSOAPEnvelope
object associated with thisSOAPPart
object.java.lang.Object
Message. getProperty(java.lang.String property)
SOAPBody
Message. getSOAPBody()
SOAPHeader
Message. getSOAPHeader()
void
Message. saveChanges()
Updates thisSOAPMessage
object with all the changes that have been made to it.void
SOAPPart. setContent(javax.xml.transform.Source source)
Sets the content of theSOAPEnvelope
object with the data from the givenSource
object.void
Message. setProperty(java.lang.String property, java.lang.Object value)
void
Message. writeTo(java.io.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 SOAPException Modifier and Type Method Description java.lang.Object
AttachmentPart. getContent()
Gets the content of thisAttachmentPart
object as a Java object.javax.activation.DataHandler
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 SOAPException Modifier and Type Method Description SOAPElement
MessageElement. addAttribute(Name attrName, java.lang.String value)
add a new attributeSOAPBody
SOAPEnvelope. addBody()
Add a soap body if one does not existSOAPBodyElement
SOAPBody. 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)
SOAPElement
MessageElement. addChildElement(java.lang.String localName)
add a child element in the message element's own namespaceSOAPElement
MessageElement. addChildElement(java.lang.String localName, java.lang.String prefixName)
add a child elementSOAPElement
MessageElement. addChildElement(java.lang.String localName, java.lang.String childPrefix, java.lang.String uri)
add a child elementSOAPElement
MessageElement. addChildElement(Name childName)
add the child elementSOAPElement
MessageElement. addChildElement(SOAPElement element)
The added child must be an instance of MessageElement rather than an abitrary SOAPElement otherwise a (wrapped) ClassCastException will be thrown.SOAPElement
SOAPBody. addChildElement(java.lang.String localName)
SOAPElement
SOAPBody. addChildElement(java.lang.String localName, java.lang.String prefix)
SOAPElement
SOAPBody. addChildElement(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
SOAPElement
SOAPBody. addChildElement(Name name)
SOAPElement
SOAPBody. addChildElement(SOAPElement element)
SOAPElement
SOAPHeader. addChildElement(java.lang.String localName)
SOAPElement
SOAPHeader. addChildElement(java.lang.String localName, java.lang.String prefix)
SOAPElement
SOAPHeader. addChildElement(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
SOAPElement
SOAPHeader. addChildElement(Name name)
SOAPElement
SOAPHeader. addChildElement(SOAPElement element)
Detail
SOAPFault. addDetail()
Creates aDetail
object and sets it as theDetail
object for thisSOAPFaultException
object.DetailEntry
Detail. addDetailEntry(Name name)
Creates a newDetailEntry
object with the given name and adds it to thisDetail
object.SOAPBodyElement
SOAPBody. addDocument(org.w3c.dom.Document document)
SOAPFault
SOAPBody. addFault()
SOAPFault
SOAPBody. addFault(Name name, java.lang.String s)
SOAPFault
SOAPBody. addFault(Name name, java.lang.String s, java.util.Locale locale)
SOAPHeader
SOAPEnvelope. addHeader()
Add a soap header if one does not existSOAPHeaderElement
SOAPHeader. addHeaderElement(Name name)
SOAPElement
MessageElement. addNamespaceDeclaration(java.lang.String prefix, java.lang.String uri)
create aMapping
mapping and add to our namespace list.SOAPElement
MessageElement. addTextNode(java.lang.String s)
add a text node to the document.SOAPElement
RPCParam. addTextNode(java.lang.String s)
Name
SOAPEnvelope. createName(java.lang.String localName)
create a Name given the local partName
SOAPEnvelope. createName(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
Create a name given local part, prefix and uriSOAPBody
SOAPEnvelope. getBody()
Get the soap bodySOAPHeader
SOAPEnvelope. getHeader()
Get the soap headervoid
MessageElement. setEncodingStyle(java.lang.String encodingStyle)
Sets the encoding style for thisSOAPElement
object to one specified.void
SOAPBody. setEncodingStyle(java.lang.String encodingStyle)
void
SOAPFault. setFaultActor(java.lang.String faultActor)
Sets thisSOAPFaultException
object with the given fault actor.void
SOAPFault. setFaultCode(java.lang.String faultCode)
Sets thisSOAPFaultException
object with the given fault code.void
SOAPFault. setFaultCode(Name faultCodeQName)
void
SOAPFault. setFaultString(java.lang.String faultString)
Sets the fault string for thisSOAPFaultException
object to the given string.void
SOAPFault. setFaultString(java.lang.String faultString, java.util.Locale locale)
void
MessageElement. setObjectValue(java.lang.Object newValue)
Sets value of this node to an Object.protected void
NodeImpl. setParent(NodeImpl parent)
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 SOAPException Modifier and Type Method Description SOAPMessage
SOAPConnectionImpl. call(SOAPMessage request, java.lang.Object endpoint)
Sends the given message to the specified endpoint and blocks until it has returned the response.void
SOAPConnectionImpl. close()
Closes thisSOAPConnection
object.SOAPConnection
SOAPConnectionFactoryImpl. createConnection()
Create a newSOAPConnection
.Detail
SOAPFactoryImpl. createDetail()
SOAPElement
SOAPFactoryImpl. createElement(java.lang.String localName)
Create aSOAPElement
object initialized with the given local name.SOAPElement
SOAPFactoryImpl. createElement(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
Create a newSOAPElement
object with the given local name, prefix and uri.SOAPElement
SOAPFactoryImpl. createElement(Name name)
Create aSOAPElement
object initialized with the givenName
object.SOAPMessage
MessageFactoryImpl. createMessage()
Creates a newSOAPMessage
object with the defaultSOAPPart
,SOAPEnvelope
,SOAPBody
, andSOAPHeader
objects.SOAPMessage
MessageFactoryImpl. createMessage(MimeHeaders mimeheaders, java.io.InputStream inputstream)
Internalizes the contents of the givenInputStream
object into a newSOAPMessage
object and returns theSOAPMessage
object.Name
SOAPFactoryImpl. createName(java.lang.String localName)
Name
SOAPFactoryImpl. createName(java.lang.String localName, java.lang.String prefix, java.lang.String uri)
-