public interface SAAJConverter
Modifier and Type | Field and Description |
---|---|
static String |
OM_ATTRIBUTE_KEY |
Modifier and Type | Method and Description |
---|---|
MessageFactory |
createMessageFactory(String namespace)
Creates a MessageFactory that can support the SOAP version identified
by the specified envelope namespace.
|
org.apache.axiom.om.OMElement |
toOM(SOAPElement soapElement)
Convert SOAPElement into an OMElement
|
org.apache.axiom.soap.SOAPEnvelope |
toOM(SOAPEnvelope saajEnvelope)
Convert SAAJ SOAPEnvelope to OM SOAPEnvelope
|
org.apache.axiom.soap.SOAPEnvelope |
toOM(SOAPEnvelope saajEnvelope,
org.apache.axiom.attachments.Attachments attachments)
Convert SAAJ SOAPEnvelope to OM SOAPEnvelope
|
SOAPElement |
toSAAJ(org.apache.axiom.om.OMElement omElement,
SOAPElement parent)
Convert omElement into a SOAPElement and add it to the parent SOAPElement.
|
SOAPElement |
toSAAJ(org.apache.axiom.om.OMElement omElement,
SOAPElement parent,
SOAPFactory sf)
Convert omElement into a SOAPElement and add it to the parent SOAPElement.
|
SOAPEnvelope |
toSAAJ(org.apache.axiom.soap.SOAPEnvelope omElement)
Convert OM SOAPEnvleope to SAAJ SOAPEnvelope
|
static final String OM_ATTRIBUTE_KEY
SOAPEnvelope toSAAJ(org.apache.axiom.soap.SOAPEnvelope omElement) throws WebServiceException
omElement
- WebServiceException
org.apache.axiom.soap.SOAPEnvelope toOM(SOAPEnvelope saajEnvelope) throws WebServiceException
saajEnvelope
- WebServiceException
org.apache.axiom.soap.SOAPEnvelope toOM(SOAPEnvelope saajEnvelope, org.apache.axiom.attachments.Attachments attachments) throws WebServiceException
saajEnvelope
- Attachments
- WebServiceException
org.apache.axiom.om.OMElement toOM(SOAPElement soapElement) throws WebServiceException
soapElement
- WebServiceException
SOAPElement toSAAJ(org.apache.axiom.om.OMElement omElement, SOAPElement parent) throws WebServiceException
omElement
- parent
- SOAPElementWebServiceException
toSAAJ(OMElement, SOAPElement, SOAPFactory)
SOAPElement toSAAJ(org.apache.axiom.om.OMElement omElement, SOAPElement parent, SOAPFactory sf) throws WebServiceException
omElement
- parent
- SOAPElementsf
- SOAPFactory that is used to create Name objectsWebServiceException
- * @see toSAAJ(OMElement, SOAPElement)MessageFactory createMessageFactory(String namespace) throws SOAPException, WebServiceException
namespace
- WebServiceException
- if the namespace is SOAP 1.2 and the SAAJ does not support
SOAP 1.2 or the namespace is unknown.SOAPException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.