Interface SAAJConverter

All Known Implementing Classes:
SAAJConverterImpl

public interface SAAJConverter
SAAJConverter Provides Conversion between SAAJ and OM Constructed via the SAAJConverterFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.xml.soap.MessageFactory
    Creates a MessageFactory that can support the SOAP version identified by the specified envelope namespace.
    org.apache.axiom.om.OMElement
    toOM(jakarta.xml.soap.SOAPElement soapElement)
    Convert SOAPElement into an OMElement
    org.apache.axiom.soap.SOAPEnvelope
    toOM(jakarta.xml.soap.SOAPEnvelope saajEnvelope)
    Convert SAAJ SOAPEnvelope to OM SOAPEnvelope
    org.apache.axiom.soap.SOAPEnvelope
    toOM(jakarta.xml.soap.SOAPEnvelope saajEnvelope, org.apache.axiom.attachments.Attachments attachments)
    Convert SAAJ SOAPEnvelope to OM SOAPEnvelope
    jakarta.xml.soap.SOAPElement
    toSAAJ(org.apache.axiom.om.OMElement omElement, jakarta.xml.soap.SOAPElement parent)
    Convert omElement into a SOAPElement and add it to the parent SOAPElement.
    jakarta.xml.soap.SOAPElement
    toSAAJ(org.apache.axiom.om.OMElement omElement, jakarta.xml.soap.SOAPElement parent, jakarta.xml.soap.SOAPFactory sf)
    Convert omElement into a SOAPElement and add it to the parent SOAPElement.
    jakarta.xml.soap.SOAPEnvelope
    toSAAJ(org.apache.axiom.soap.SOAPEnvelope omElement)
    Convert OM SOAPEnvleope to SAAJ SOAPEnvelope
  • Field Details

  • Method Details

    • toSAAJ

      jakarta.xml.soap.SOAPEnvelope toSAAJ(org.apache.axiom.soap.SOAPEnvelope omElement) throws jakarta.xml.ws.WebServiceException
      Convert OM SOAPEnvleope to SAAJ SOAPEnvelope
      Parameters:
      omElement -
      Returns:
      SOAPEnvelope
      Throws:
      jakarta.xml.ws.WebServiceException
    • toOM

      org.apache.axiom.soap.SOAPEnvelope toOM(jakarta.xml.soap.SOAPEnvelope saajEnvelope) throws jakarta.xml.ws.WebServiceException
      Convert SAAJ SOAPEnvelope to OM SOAPEnvelope
      Parameters:
      saajEnvelope -
      Returns:
      OM Envelope
      Throws:
      jakarta.xml.ws.WebServiceException
    • toOM

      org.apache.axiom.soap.SOAPEnvelope toOM(jakarta.xml.soap.SOAPEnvelope saajEnvelope, org.apache.axiom.attachments.Attachments attachments) throws jakarta.xml.ws.WebServiceException
      Convert SAAJ SOAPEnvelope to OM SOAPEnvelope
      Parameters:
      saajEnvelope -
      Attachments -
      Returns:
      OM Envelope
      Throws:
      jakarta.xml.ws.WebServiceException
    • toOM

      org.apache.axiom.om.OMElement toOM(jakarta.xml.soap.SOAPElement soapElement) throws jakarta.xml.ws.WebServiceException
      Convert SOAPElement into an OMElement
      Parameters:
      soapElement -
      Returns:
      OMElement
      Throws:
      jakarta.xml.ws.WebServiceException
    • toSAAJ

      jakarta.xml.soap.SOAPElement toSAAJ(org.apache.axiom.om.OMElement omElement, jakarta.xml.soap.SOAPElement parent) throws jakarta.xml.ws.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:
      jakarta.xml.ws.WebServiceException
      See Also:
    • toSAAJ

      jakarta.xml.soap.SOAPElement toSAAJ(org.apache.axiom.om.OMElement omElement, jakarta.xml.soap.SOAPElement parent, jakarta.xml.soap.SOAPFactory sf) throws jakarta.xml.ws.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:
      jakarta.xml.ws.WebServiceException - * @see toSAAJ(OMElement, SOAPElement)
    • createMessageFactory

      jakarta.xml.soap.MessageFactory createMessageFactory(String namespace) throws jakarta.xml.soap.SOAPException, jakarta.xml.ws.WebServiceException
      Creates a MessageFactory that can support the SOAP version identified by the specified envelope namespace.
      Parameters:
      namespace -
      Returns:
      Throws:
      jakarta.xml.ws.WebServiceException - if the namespace is SOAP 1.2 and the SAAJ does not support SOAP 1.2 or the namespace is unknown.
      jakarta.xml.soap.SOAPException