org.apache.axiom.soap
Interface SOAPFactory
- All Superinterfaces:
- OMFactory
public interface SOAPFactory
- extends OMFactory
|
Method Summary |
SOAPBody |
createSOAPBody()
|
SOAPBody |
createSOAPBody(SOAPEnvelope envelope)
|
SOAPBody |
createSOAPBody(SOAPEnvelope envelope,
OMXMLParserWrapper builder)
|
SOAPEnvelope |
createSOAPEnvelope()
Create a SOAP envelope. |
SOAPEnvelope |
createSOAPEnvelope(OMNamespace ns)
Create a SOAP envelope with the given namespace. |
SOAPEnvelope |
createSOAPEnvelope(OMXMLParserWrapper builder)
|
SOAPFault |
createSOAPFault()
|
SOAPFault |
createSOAPFault(SOAPBody parent)
|
SOAPFault |
createSOAPFault(SOAPBody parent,
java.lang.Exception e)
|
SOAPFault |
createSOAPFault(SOAPBody parent,
OMXMLParserWrapper builder)
|
SOAPFaultCode |
createSOAPFaultCode()
|
SOAPFaultCode |
createSOAPFaultCode(SOAPFault parent)
Code eii under SOAPFault (parent) |
SOAPFaultCode |
createSOAPFaultCode(SOAPFault parent,
OMXMLParserWrapper builder)
Code eii under SOAPFault (parent) |
SOAPFaultDetail |
createSOAPFaultDetail()
|
SOAPFaultDetail |
createSOAPFaultDetail(SOAPFault parent)
Detail eii under SOAPFault (parent) |
SOAPFaultDetail |
createSOAPFaultDetail(SOAPFault parent,
OMXMLParserWrapper builder)
Role eii under SOAPFault (parent) |
SOAPFaultNode |
createSOAPFaultNode()
|
SOAPFaultNode |
createSOAPFaultNode(SOAPFault parent)
Node eii under SOAPFault (parent) |
SOAPFaultNode |
createSOAPFaultNode(SOAPFault parent,
OMXMLParserWrapper builder)
Node eii under SOAPFault (parent) |
SOAPFaultReason |
createSOAPFaultReason()
|
SOAPFaultReason |
createSOAPFaultReason(SOAPFault parent)
Reason eii under SOAPFault (parent) |
SOAPFaultReason |
createSOAPFaultReason(SOAPFault parent,
OMXMLParserWrapper builder)
Reason eii under SOAPFault (parent) |
SOAPFaultRole |
createSOAPFaultRole()
|
SOAPFaultRole |
createSOAPFaultRole(SOAPFault parent)
Role eii under SOAPFault (parent) |
SOAPFaultRole |
createSOAPFaultRole(SOAPFault parent,
OMXMLParserWrapper builder)
Role eii under SOAPFault (parent) |
SOAPFaultSubCode |
createSOAPFaultSubCode()
|
SOAPFaultSubCode |
createSOAPFaultSubCode(SOAPFaultCode parent)
|
SOAPFaultSubCode |
createSOAPFaultSubCode(SOAPFaultCode parent,
OMXMLParserWrapper builder)
SubCode eii under Value (parent) |
SOAPFaultSubCode |
createSOAPFaultSubCode(SOAPFaultSubCode parent)
SubCode eii under SubCode (parent) |
SOAPFaultSubCode |
createSOAPFaultSubCode(SOAPFaultSubCode parent,
OMXMLParserWrapper builder)
SubCode eii under SubCode (parent) |
SOAPFaultText |
createSOAPFaultText()
|
SOAPFaultText |
createSOAPFaultText(SOAPFaultReason parent)
SubCode eii under SubCode (parent) |
SOAPFaultText |
createSOAPFaultText(SOAPFaultReason parent,
OMXMLParserWrapper builder)
SubCode eii under SubCode (parent) |
SOAPFaultValue |
createSOAPFaultValue()
|
SOAPFaultValue |
createSOAPFaultValue(SOAPFaultCode parent)
Value eii under Code (parent) |
SOAPFaultValue |
createSOAPFaultValue(SOAPFaultCode parent,
OMXMLParserWrapper builder)
Value eii under Code (parent) |
SOAPFaultValue |
createSOAPFaultValue(SOAPFaultSubCode parent)
SubCode eii under Value (parent) |
SOAPFaultValue |
createSOAPFaultValue(SOAPFaultSubCode parent,
OMXMLParserWrapper builder)
|
SOAPHeader |
createSOAPHeader()
|
SOAPHeader |
createSOAPHeader(SOAPEnvelope envelope)
|
SOAPHeader |
createSOAPHeader(SOAPEnvelope envelope,
OMXMLParserWrapper builder)
|
SOAPHeaderBlock |
createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns)
|
SOAPHeaderBlock |
createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns,
OMDataSource ds)
Create SOAPHeaderBlock that has an OMDataSource |
SOAPHeaderBlock |
createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns,
SOAPHeader parent)
|
SOAPHeaderBlock |
createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns,
SOAPHeader parent,
OMXMLParserWrapper builder)
|
SOAPMessage |
createSOAPMessage()
|
SOAPMessage |
createSOAPMessage(OMXMLParserWrapper builder)
|
SOAPMessage |
createSOAPMessage(SOAPEnvelope envelope,
OMXMLParserWrapper parserWrapper)
|
SOAPEnvelope |
getDefaultEnvelope()
Create a default SOAP envelope with an empty header and an empty body. |
SOAPEnvelope |
getDefaultFaultEnvelope()
|
OMNamespace |
getNamespace()
Get the envelope namespace for the SOAP version used by this factory. |
SOAPVersion |
getSOAPVersion()
|
java.lang.String |
getSoapVersionURI()
|
| Methods inherited from interface org.apache.axiom.om.OMFactory |
createOMAttribute, createOMComment, createOMDocType, createOMDocument, createOMDocument, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMNamespace, createOMProcessingInstruction, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, getMetaFactory |
getSoapVersionURI
java.lang.String getSoapVersionURI()
getSOAPVersion
SOAPVersion getSOAPVersion()
createSOAPMessage
SOAPMessage createSOAPMessage()
createSOAPMessage
SOAPMessage createSOAPMessage(OMXMLParserWrapper builder)
createSOAPMessage
SOAPMessage createSOAPMessage(SOAPEnvelope envelope,
OMXMLParserWrapper parserWrapper)
createSOAPEnvelope
SOAPEnvelope createSOAPEnvelope()
throws SOAPProcessingException
- Create a SOAP envelope. The returned element will have the namespace URI specified by the
SOAP version that this factory represents. It will have the prefix given by
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX. It will also have a corresponding
namespace declaration.
- Returns:
- the SOAP envelope
- Throws:
SOAPProcessingException
createSOAPEnvelope
SOAPEnvelope createSOAPEnvelope(OMNamespace ns)
- Create a SOAP envelope with the given namespace. This method can be used to create a SOAP
envelope with a custom namespace prefix.
- Parameters:
ns - the namespace information for the SOAP envelope
- Returns:
- the SOAP envelope
createSOAPEnvelope
SOAPEnvelope createSOAPEnvelope(OMXMLParserWrapper builder)
createSOAPHeader
SOAPHeader createSOAPHeader(SOAPEnvelope envelope)
throws SOAPProcessingException
- Parameters:
envelope -
- Returns:
- Returns SOAPHeader.
- Throws:
SOAPProcessingException
createSOAPHeader
SOAPHeader createSOAPHeader()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPHeader
SOAPHeader createSOAPHeader(SOAPEnvelope envelope,
OMXMLParserWrapper builder)
- Parameters:
envelope - builder -
- Returns:
- Returns SOAPHeader.
createSOAPHeaderBlock
SOAPHeaderBlock createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns,
SOAPHeader parent)
throws SOAPProcessingException
- Parameters:
localName - ns -
- Returns:
- Returns SOAPHeaderBlock.
- Throws:
SOAPProcessingException
createSOAPHeaderBlock
SOAPHeaderBlock createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns)
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPHeaderBlock
SOAPHeaderBlock createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns,
OMDataSource ds)
throws SOAPProcessingException
- Create SOAPHeaderBlock that has an OMDataSource
- Parameters:
localName - ns - ds -
- Returns:
- SOAPHeaderBlock
- Throws:
SOAPProcessingException
createSOAPHeaderBlock
SOAPHeaderBlock createSOAPHeaderBlock(java.lang.String localName,
OMNamespace ns,
SOAPHeader parent,
OMXMLParserWrapper builder)
throws SOAPProcessingException
- Parameters:
localName - ns - parent - builder -
- Returns:
- Returns SOAPHeaderBlock.
- Throws:
SOAPProcessingException
createSOAPFault
SOAPFault createSOAPFault(SOAPBody parent,
java.lang.Exception e)
throws SOAPProcessingException
- Parameters:
parent - e -
- Returns:
- Returns SOAPFault.
- Throws:
SOAPProcessingException
createSOAPFault
SOAPFault createSOAPFault(SOAPBody parent)
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFault
SOAPFault createSOAPFault()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFault
SOAPFault createSOAPFault(SOAPBody parent,
OMXMLParserWrapper builder)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFault.
createSOAPBody
SOAPBody createSOAPBody(SOAPEnvelope envelope)
throws SOAPProcessingException
- Parameters:
envelope -
- Returns:
- Returns SOAPBody.
- Throws:
SOAPProcessingException
createSOAPBody
SOAPBody createSOAPBody()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPBody
SOAPBody createSOAPBody(SOAPEnvelope envelope,
OMXMLParserWrapper builder)
- Parameters:
envelope - builder -
- Returns:
- Returns SOAPBody.
createSOAPFaultCode
SOAPFaultCode createSOAPFaultCode(SOAPFault parent)
throws SOAPProcessingException
- Code eii under SOAPFault (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultCode.
- Throws:
SOAPProcessingException
createSOAPFaultCode
SOAPFaultCode createSOAPFaultCode()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultCode
SOAPFaultCode createSOAPFaultCode(SOAPFault parent,
OMXMLParserWrapper builder)
- Code eii under SOAPFault (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultCode.
createSOAPFaultValue
SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent)
throws SOAPProcessingException
- Value eii under Code (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultValue.
- Throws:
SOAPProcessingException
createSOAPFaultValue
SOAPFaultValue createSOAPFaultValue()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultValue
SOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent,
OMXMLParserWrapper builder)
- Value eii under Code (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultValue.
createSOAPFaultValue
SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent)
throws SOAPProcessingException
- SubCode eii under Value (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultValue.
- Throws:
SOAPProcessingException
createSOAPFaultValue
SOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent,
OMXMLParserWrapper builder)
createSOAPFaultSubCode
SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent)
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultSubCode
SOAPFaultSubCode createSOAPFaultSubCode()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultSubCode
SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent,
OMXMLParserWrapper builder)
- SubCode eii under Value (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultSubCode.
createSOAPFaultSubCode
SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent)
throws SOAPProcessingException
- SubCode eii under SubCode (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultSubCode.
- Throws:
SOAPProcessingException
createSOAPFaultSubCode
SOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent,
OMXMLParserWrapper builder)
- SubCode eii under SubCode (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultSubCode.
createSOAPFaultReason
SOAPFaultReason createSOAPFaultReason(SOAPFault parent)
throws SOAPProcessingException
- Reason eii under SOAPFault (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultReason.
- Throws:
SOAPProcessingException
createSOAPFaultReason
SOAPFaultReason createSOAPFaultReason()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultReason
SOAPFaultReason createSOAPFaultReason(SOAPFault parent,
OMXMLParserWrapper builder)
- Reason eii under SOAPFault (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultReason.
createSOAPFaultText
SOAPFaultText createSOAPFaultText(SOAPFaultReason parent)
throws SOAPProcessingException
- SubCode eii under SubCode (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultText.
- Throws:
SOAPProcessingException
createSOAPFaultText
SOAPFaultText createSOAPFaultText()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultText
SOAPFaultText createSOAPFaultText(SOAPFaultReason parent,
OMXMLParserWrapper builder)
- SubCode eii under SubCode (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultText.
createSOAPFaultNode
SOAPFaultNode createSOAPFaultNode(SOAPFault parent)
throws SOAPProcessingException
- Node eii under SOAPFault (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultNode.
- Throws:
SOAPProcessingException
createSOAPFaultNode
SOAPFaultNode createSOAPFaultNode()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultNode
SOAPFaultNode createSOAPFaultNode(SOAPFault parent,
OMXMLParserWrapper builder)
- Node eii under SOAPFault (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultNode.
createSOAPFaultRole
SOAPFaultRole createSOAPFaultRole(SOAPFault parent)
throws SOAPProcessingException
- Role eii under SOAPFault (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultRole.
- Throws:
SOAPProcessingException
createSOAPFaultRole
SOAPFaultRole createSOAPFaultRole()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultRole
SOAPFaultRole createSOAPFaultRole(SOAPFault parent,
OMXMLParserWrapper builder)
- Role eii under SOAPFault (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultRole.
createSOAPFaultDetail
SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent)
throws SOAPProcessingException
- Detail eii under SOAPFault (parent)
- Parameters:
parent -
- Returns:
- Returns SOAPFaultDetail.
- Throws:
SOAPProcessingException
createSOAPFaultDetail
SOAPFaultDetail createSOAPFaultDetail()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
createSOAPFaultDetail
SOAPFaultDetail createSOAPFaultDetail(SOAPFault parent,
OMXMLParserWrapper builder)
- Role eii under SOAPFault (parent)
- Parameters:
parent - builder -
- Returns:
- Returns SOAPFaultDetail.
getDefaultEnvelope
SOAPEnvelope getDefaultEnvelope()
throws SOAPProcessingException
- Create a default SOAP envelope with an empty header and an empty body. Note that the method
will not create an associated
SOAPMessage or OMDocument instance and the
parent of the returned SOAPEnvelope is null.
- Returns:
- the default SOAP envelope
- Throws:
SOAPProcessingException
getDefaultFaultEnvelope
SOAPEnvelope getDefaultFaultEnvelope()
throws SOAPProcessingException
- Throws:
SOAPProcessingException
getNamespace
OMNamespace getNamespace()
- Get the envelope namespace for the SOAP version used by this factory. The returned
OMNamespace instance has the following properties:
- Returns:
- the envelope namespace for the SOAP version used by this factory
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.