public static EbMSStatusResponse ebMSStatusRequestToEbMSStatusResponse(EbMSStatusRequest request, String hostname, EbMSMessageStatus status, GregorianCalendar timestamp) throws DatatypeConfigurationException
{
MessageHeader messageHeader = createMessageHeader(request.getMessageHeader(),hostname,new GregorianCalendar(),EbMSMessageType.STATUS_RESPONSE.action());
StatusResponse statusResponse = createStatusResponse(request.getStatusRequest(),status,timestamp);
EbMSStatusResponse response = new EbMSStatusResponse(messageHeader,statusResponse);
return response;
}