throw new InstantiationException(errMsg);
}
setProperties(pConfig.getProperties());
// Initialize response and provide documents.
XmlDocumentReader xmlReader = new XmlDocumentReader();
try {
logger.debug("[I2sRequestCommand] " +
"responseDocumentUri: " + getProperties()
.getProperty("responseDocumentUri"));
m_responseDoc = xmlReader.initializeDocument(getProperties()
.getProperty("responseDocumentUri"), getOutboundXmlValidation());
if (m_responseDoc == null) {
String errMsg = "Missing 'responseDocumentUri' " +
"property in the deployment descriptor. Can't continue.";
logger.fatal("[I2sRequestCommand] " + errMsg);
throw new InstantiationException(errMsg);
}
logger.debug("[I2sRequestCommand] " +
"provideDocumentUri: " + getProperties()
.getProperty("provideDocumentUri"));
m_provideDoc = xmlReader.initializeDocument(getProperties()
.getProperty("provideDocumentUri"), getOutboundXmlValidation());
if (m_provideDoc == null) {
String errMsg = "Missing 'provideDocumentUri' " +
"property in the deployment descriptor. Can't continue.";
logger.fatal("[I2sRequestCommand] " + errMsg);