}
}
private String processQuoteRequestInput(String xmlInput) {
try {
TADataContext context = new TADataContext();
context.setNonce(getNonce(xmlInput));
context.setSelectedPCRs(getSelectedPCRs(xmlInput));
validateCertFile();
new CreateNonceFileCmd(context).execute();
new ReadIdentityCmd(context).execute();
new GenerateQuoteCmd(context).execute();
new BuildQuoteXMLCmd(context).execute();
return context.getResponseXML();
} catch (TAException ex) {
log.error( null, ex);
return generateErrorResponse(ex.getErrorCode(), ex.getMessage());
}