AckRequested

public class AckRequested extends HeaderElement

An ebXML AckRequested in the SOAP Header of a HeaderContainer [ebMSS 6.3.1].

Author:cyng

Fields

ACK_REQUESTED

static final String ACK_REQUESTED

AckRequested element name.

ATTRIBUTE_SIGNED

static final String ATTRIBUTE_SIGNED

Name of the Signed attribute.

Constructors

AckRequested

AckRequested(SOAPEnvelope soapEnvelope, boolean signed)

Constructs a AckRequested with the given mandatory fields.

Parameters:
  • soapEnvelopeSOAPEnvelope, the header of which the AckRequested element is added to.
  • signed – Indicates if a signed acknowledgement response is requested. True if a signed response is requested; false otherwise.
Throws:
  • SOAPException

AckRequested

AckRequested(SOAPEnvelope soapEnvelope, SOAPElement soapElement)

Constructs a AckRequested with the given mandatory fields.

Parameters:
  • soapEnvelopeSOAPEnvelope, the header of which the AckRequested element is added to.
  • soapElementSOAPElement containing acknowledgement request.
Throws:
  • SOAPException

Methods

getSigned

public boolean getSigned()

Gets the flag that if a signed acknowledgement response is requested.

Returns:true if a signed acknowledgement response is requested; false otherwise.