Package org.ws4d.java.message

Modelisation of Messages, notably SOAP headers and Faults.

See:
          Description

Interface Summary
MessageDiscarder Implementations of this interface are queried each time a message is to be created within SOAP2MessageGenerator.
 

Class Summary
FaultMessage  
InvokeMessage  
Message This class implements an abstract MessageObject.
SOAPHeader  
 

Exception Summary
SOAPException  
 

Package org.ws4d.java.message Description

Modelisation of Messages, notably SOAP headers and Faults.

The SOAPHeader class constructs an empty soap header with the following fields:

The abstract class Message and its implementation InvokeMessage contain a SoapHeader instance as a field and provide methods to set the required SoapHeader fields based on the Message instance passed as attribute. The implementing class InvokeMessage additionally provides two constructors: a constructor with the field MessageID set (that is, representing a SOAP Request Message), and a second one without a messageID (simple one way operation). Methods to get and set the content of the message body are also implemented.

The second implementing class of Message is the class FaultMessage which modelises a SOAP fault message.