Interface SAAJConverter
- 
- All Known Implementing Classes:
- SAAJConverterImpl
 
 public interface SAAJConverterSAAJConverter Provides Conversion between SAAJ and OM Constructed via the SAAJConverterFactory
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOM_ATTRIBUTE_KEY
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageFactorycreateMessageFactory(String namespace)Creates a MessageFactory that can support the SOAP version identified by the specified envelope namespace.OMElementtoOM(SOAPElement soapElement)Convert SOAPElement into an OMElementSOAPEnvelopetoOM(SOAPEnvelope saajEnvelope)Convert SAAJ SOAPEnvelope to OM SOAPEnvelopeSOAPEnvelopetoOM(SOAPEnvelope saajEnvelope, Attachments attachments)Convert SAAJ SOAPEnvelope to OM SOAPEnvelopeSOAPElementtoSAAJ(OMElement omElement, SOAPElement parent)Convert omElement into a SOAPElement and add it to the parent SOAPElement.SOAPElementtoSAAJ(OMElement omElement, SOAPElement parent, SOAPFactory sf)Convert omElement into a SOAPElement and add it to the parent SOAPElement.SOAPEnvelopetoSAAJ(SOAPEnvelope omElement)Convert OM SOAPEnvleope to SAAJ SOAPEnvelope
 
- 
- 
- 
Field Detail- 
OM_ATTRIBUTE_KEYstatic final String OM_ATTRIBUTE_KEY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
toSAAJSOAPEnvelope toSAAJ(SOAPEnvelope omElement) throws WebServiceException Convert OM SOAPEnvleope to SAAJ SOAPEnvelope- Parameters:
- omElement-
- Returns:
- SOAPEnvelope
- Throws:
- WebServiceException
 
 - 
toOMSOAPEnvelope toOM(SOAPEnvelope saajEnvelope) throws WebServiceException Convert SAAJ SOAPEnvelope to OM SOAPEnvelope- Parameters:
- saajEnvelope-
- Returns:
- OM Envelope
- Throws:
- WebServiceException
 
 - 
toOMSOAPEnvelope toOM(SOAPEnvelope saajEnvelope, Attachments attachments) throws WebServiceException Convert SAAJ SOAPEnvelope to OM SOAPEnvelope- Parameters:
- saajEnvelope-
- Attachments-
- Returns:
- OM Envelope
- Throws:
- WebServiceException
 
 - 
toOMOMElement toOM(SOAPElement soapElement) throws WebServiceException Convert SOAPElement into an OMElement- Parameters:
- soapElement-
- Returns:
- OMElement
- Throws:
- WebServiceException
 
 - 
toSAAJSOAPElement toSAAJ(OMElement omElement, SOAPElement parent) throws WebServiceException Convert omElement into a SOAPElement and add it to the parent SOAPElement. This method requires that the parent element have an ancestor that is a SOAPEnvelope. If this is not the case use the toSAAJ(OMElement, SOAPElement, SOAPFactory) method- Parameters:
- omElement-
- parent- SOAPElement
- Returns:
- SOAPElement that was added to the parent.
- Throws:
- WebServiceException
- See Also:
- toSAAJ(org.apache.axiom.om.OMElement,javax.xml.soap.SOAPElement,javax.xml.soap.SOAPFactory)
 
 - 
toSAAJSOAPElement toSAAJ(OMElement omElement, SOAPElement parent, SOAPFactory sf) throws WebServiceException Convert omElement into a SOAPElement and add it to the parent SOAPElement.- Parameters:
- omElement-
- parent- SOAPElement
- sf- SOAPFactory that is used to create Name objects
- Returns:
- SOAPElement that was added to the parent.
- Throws:
- WebServiceException- * @see toSAAJ(OMElement, SOAPElement)
 
 - 
createMessageFactoryMessageFactory createMessageFactory(String namespace) throws SOAPException, WebServiceException Creates a MessageFactory that can support the SOAP version identified by the specified envelope namespace.- Parameters:
- namespace-
- Returns:
- Throws:
- WebServiceException- if the namespace is SOAP 1.2 and the SAAJ does not support SOAP 1.2 or the namespace is unknown.
- SOAPException
 
 
- 
 
-