use of org.apache.cxf.xkms.model.xkms.ResultType in project cxf by apache.
the class CheckXKRSS method checkRevokeWithoutXKRSS.
@Test
public void checkRevokeWithoutXKRSS() {
RevokeRequestType request = new RevokeRequestType();
request.setId("1");
request.setService(XKMSConstants.XKMS_ENDPOINT_NAME);
ResultType result = createXKMSService(false).revoke(request);
assertNotSupported(result);
}
use of org.apache.cxf.xkms.model.xkms.ResultType in project cxf by apache.
the class CheckXKRSS method checkRevokeWithXKRSS.
@Test
public void checkRevokeWithXKRSS() {
RegisterRequestType request = new RegisterRequestType();
request.setId("1");
request.setService(XKMSConstants.XKMS_ENDPOINT_NAME);
ResultType result = createXKMSService(true).register(request);
assertSuccess(result);
}
use of org.apache.cxf.xkms.model.xkms.ResultType in project cxf by apache.
the class CheckXKRSS method checkRecoverWithXKRSS.
@Test
public void checkRecoverWithXKRSS() {
RecoverRequestType request = new RecoverRequestType();
request.setId("1");
request.setService(XKMSConstants.XKMS_ENDPOINT_NAME);
ResultType result = createXKMSService(true).recover(request);
showResult(result);
assertSuccess(result);
}
use of org.apache.cxf.xkms.model.xkms.ResultType in project cxf by apache.
the class CheckXKRSS method checkRecoverWithoutXKRSS.
@Test
public void checkRecoverWithoutXKRSS() {
RecoverRequestType request = new RecoverRequestType();
request.setId("1");
request.setService(XKMSConstants.XKMS_ENDPOINT_NAME);
ResultType result = createXKMSService(false).recover(request);
assertNotSupported(result);
}
Aggregations