Skip navigation links

Package org.ws4d.java.message

Modelisation of Messages, notably SOAP headers and Faults.

See: Description

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.

Skip navigation links