com.ibm.websphere.webservices.soap

Class IBMSOAPMessage

  1. java.lang.Object
  2. extended byjavax.xml.soap.SOAPMessage
  3. extended bycom.ibm.websphere.webservices.soap.IBMSOAPMessage

  1. public abstract class IBMSOAPMessage
  2. extends javax.xml.soap.SOAPMessage
This is a marker interface. IBM value-add methods may be added to this class in the future.
See Also:
SOAPMessage

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
ENABLE_LEGACY_GETSOAP_BEHAVIOR
Determines the behavior of the getSOAPHeader() and getSOAPBody() methods if there is no Header or Body respectively.
Fields inherited from class javax.xml.soap.SOAPMessage
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION

Constructor Summary

Constructor and Description
IBMSOAPMessage()

Method Summary

Modifier and Type Method and Description
  1. javax.xml.soap.SOAPBody
getSOAPBody()
Gets the SOAP Body contained in this SOAPMessage object.
  1. javax.xml.soap.SOAPHeader
getSOAPHeader()
Gets the SOAP Header contained in this SOAPMessage object.
Methods inherited from class javax.xml.soap.SOAPMessage
addAttachmentPart, countAttachments, createAttachmentPart, createAttachmentPart, createAttachmentPart, getAttachment, getAttachments, getAttachments, getContentDescription, getMimeHeaders, getProperty, getSOAPPart, removeAllAttachments, removeAttachments, saveChanges, saveRequired, setContentDescription, setProperty, writeTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

ENABLE_LEGACY_GETSOAP_BEHAVIOR

  1. public static final java.lang.String ENABLE_LEGACY_GETSOAP_BEHAVIOR
Determines the behavior of the getSOAPHeader() and getSOAPBody() methods if there is no Header or Body respectively. PROPERTY TYPE: String PROPERTY VALUE: "true" or "false" DEFAULT VALUE: "false" If this SystemProperty is set to true, then the pre-v8 behavior of returning null is enabled. If this SystemProperty is not set or is set to false, then the v8 behavior of throwing an exception is enabled.
See Also:

Constructor Detail

IBMSOAPMessage

  1. public IBMSOAPMessage()

Method Detail

getSOAPHeader

  1. public javax.xml.soap.SOAPHeader getSOAPHeader( )
  2. throws javax.xml.soap.SOAPException
Gets the SOAP Header contained in this SOAPMessage object.
Overrides:
getSOAPHeader in class javax.xml.soap.SOAPMessage
Returns:
the SOAPHeader object contained by this IBMSOAPMessage object
Throws:
SOAPException - - if the SOAP Header does not exist or cannot be retrieved
javax.xml.soap.SOAPException
Since:
SAAJ 1.2

getSOAPBody

  1. public javax.xml.soap.SOAPBody getSOAPBody( )
  2. throws javax.xml.soap.SOAPException
Gets the SOAP Body contained in this SOAPMessage object.
Overrides:
getSOAPBody in class javax.xml.soap.SOAPMessage
Returns:
the SOAPBody object contained by this SOAPMessage object
Throws:
SOAPException - - if the SOAP Body does not exist or cannot be retrieved
javax.xml.soap.SOAPException
Since:
SAAJ 1.2