public interface SOAPFactory extends OMFactory
createOMAttribute, createOMComment, createOMDocType, createOMDocument, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMElement, createOMEntityReference, createOMNamespace, createOMProcessingInstruction, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, createOMText, getMetaFactoryString getSoapVersionURI()
SOAPVersion getSOAPVersion()
SOAPMessage createSOAPMessage()
SOAPMessage createSOAPMessage(OMXMLParserWrapper builder)
SOAPEnvelope createSOAPEnvelope() throws SOAPProcessingException
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX. It will also have a corresponding
namespace declaration.SOAPProcessingExceptionSOAPEnvelope createSOAPEnvelope(OMNamespace ns)
ns - the namespace information for the SOAP envelopeSOAPHeader createSOAPHeader(SOAPEnvelope envelope) throws SOAPProcessingException
SOAPHeader as a child of the given SOAPEnvelope.
Note that for most use cases, it is preferable to use
SOAPEnvelope.getOrCreateHeader() instead of this method.
envelope - the parent of the SOAPHeaderSOAPHeaderSOAPProcessingExceptionSOAPHeader createSOAPHeader() throws SOAPProcessingException
SOAPProcessingExceptionSOAPHeaderBlock createSOAPHeaderBlock(String localName, OMNamespace ns, SOAPHeader parent) throws SOAPProcessingException
localName - ns - SOAPProcessingExceptionSOAPHeaderBlock createSOAPHeaderBlock(String localName, OMNamespace ns) throws SOAPProcessingException
SOAPProcessingExceptionSOAPHeaderBlock createSOAPHeaderBlock(OMDataSource source)
SOAPHeaderBlock from an OMDataSource. The semantics of the method
parameters are the same as for OMFactory.createOMElement(OMDataSource).source - the data source; must not be nullSOAPHeaderBlock createSOAPHeaderBlock(String localName, OMNamespace ns, OMDataSource source) throws SOAPProcessingException
SOAPHeaderBlock from an OMDataSource with a known local name and
namespace URI. The semantics of the method parameters are the same as for
OMFactory.createOMElement(OMDataSource, String, OMNamespace).localName - the local part of the name of the element produced by the data source; must not be
nullns - the namespace of the element produced by the data source, or null if
the element has no namespacesource - the data source; must not be nullSOAPProcessingExceptionSOAPFault createSOAPFault(SOAPBody parent, Exception e) throws SOAPProcessingException
parent - e - SOAPProcessingExceptionSOAPFault createSOAPFault(SOAPBody parent) throws SOAPProcessingException
SOAPProcessingExceptionSOAPFault createSOAPFault() throws SOAPProcessingException
SOAPProcessingExceptionSOAPBody createSOAPBody(SOAPEnvelope envelope) throws SOAPProcessingException
envelope - SOAPProcessingExceptionSOAPBody createSOAPBody() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultCode createSOAPFaultCode(SOAPFault parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultCode createSOAPFaultCode() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultValue createSOAPFaultValue(SOAPFaultCode parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultValue createSOAPFaultValue() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultValue createSOAPFaultValue(SOAPFaultSubCode parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultCode parent) throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultSubCode createSOAPFaultSubCode() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultSubCode createSOAPFaultSubCode(SOAPFaultSubCode parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultReason createSOAPFaultReason(SOAPFault parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultReason createSOAPFaultReason() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultText createSOAPFaultText(SOAPFaultReason parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultText createSOAPFaultText() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultNode createSOAPFaultNode(SOAPFault parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultNode createSOAPFaultNode() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultRole createSOAPFaultRole(SOAPFault parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultRole createSOAPFaultRole() throws SOAPProcessingException
SOAPProcessingExceptionSOAPFaultDetail createSOAPFaultDetail(SOAPFault parent) throws SOAPProcessingException
parent - SOAPProcessingExceptionSOAPFaultDetail createSOAPFaultDetail() throws SOAPProcessingException
SOAPProcessingExceptionSOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException
SOAPMessage or OMDocument instance and the
parent of the returned SOAPEnvelope is null.
Note: This method is typically used in conjunction with
SOAPEnvelope.getHeader(). In order to avoid generating unnecessary empty SOAP
headers, you should consider using createDefaultSOAPMessage() together with
SOAPEnvelope.getOrCreateHeader() instead. This method may be deprecated and/or
removed in future Axiom versions.
SOAPProcessingExceptionSOAPMessage createDefaultSOAPMessage()
Since no SOAP header is added to the envelope, this method should be used in conjunction with
SOAPEnvelope.getOrCreateHeader() (if SOAP header blocks need to be added).
SOAPEnvelope getDefaultFaultEnvelope() throws SOAPProcessingException
SOAPProcessingExceptionOMNamespace getNamespace()
OMNamespace instance has the following properties:
SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX (which is the
same as the prefix used by methods such as createSOAPEnvelope()).
getSoapVersionURI().
Copyright © The Apache Software Foundation. All Rights Reserved.