JAXBElement<ValidateRequestType> validateRequest = xKMSObjectFactory.createValidateRequest(validateRequestType);
Document doc = dbf.newDocumentBuilder().newDocument();
marshaller.marshal(validateRequest, doc);
try {
ValidateResultType validateResultType = xKMSInvoker.validate(validateRequestType, pkCert, key);
assertTrue(validateResultType.getRequestId().equals("200"));
assertTrue(validateResultType.getResultMajor().equals(XKMSConstants.RESULTMAJOR_SUCCESS));
} catch (javax.xml.ws.soap.SOAPFaultException e) {
log.debug("", e);
assertTrue("There was a server error. (" + e.getMessage() + ") Did you enable the XKMS CA service?", false);