Home » xml-commons-external-1.4.01-src » javax » xml » soap » [javadoc | source]
javax.xml.soap
public interface: SOAPBodyElement [javadoc | source]

All Implemented Interfaces:
    SOAPElement

All Known Implementing Classes:
    SOAPFault

A SOAPBodyElement object represents the contents in a SOAPBody object. The SOAPFault interface is a SOAPBodyElement object that has been defined.

A new SOAPBodyElement object can be created and added to a SOAPBody object with the SOAPBody method addBodyElement. In the following line of code, sb is a SOAPBody object, and myName is a Name object.

   SOAPBodyElement sbe = sb.addBodyElement(myName);