StatusRequest

public class StatusRequest extends BodyElement

An ebXML StatusRequest in the SOAP Body of a HeaderContainer [ebMSS 7.1.1].

Author:cyng

Fields

ELEMENT_REF_TO_MESSAGE_ID

static final String ELEMENT_REF_TO_MESSAGE_ID

Name of the RefToMessageID element.

STATUS_REQUEST

static final String STATUS_REQUEST

Name of the StatusRequest element.

Constructors

StatusRequest

StatusRequest(SOAPEnvelope soapEnvelope, String refToMessageId)

Constructs a StatusRequested with the given mandatory fields.

Parameters:
  • soapEnvelopeSOAPEnvelope, the header of which status request element will be added to.
  • refToMessageId – Identifier of the message that this status message intends to query.
Throws:
  • SOAPException

StatusRequest

StatusRequest(SOAPEnvelope soapEnvelope, SOAPElement soapElement)

Constructs a StatusRequest object by parsing the given SOAPElement.

Parameters:
  • soapEnvelopeSOAPEnvelope, the header of which status request element will be added to.
  • soapElementSOAPElement from which a StatusRequest object is constructed.
Throws:
  • SOAPException

Methods

getRefToMessageId

public String getRefToMessageId()

Get the identifier of the message the status request refers to.

Returns:Identifier of the message being referred to by status request.