Search in sources :

Example 1 with ResultType

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);
}
Also used : RevokeRequestType(org.apache.cxf.xkms.model.xkms.RevokeRequestType) RecoverResultType(org.apache.cxf.xkms.model.xkms.RecoverResultType) ResultType(org.apache.cxf.xkms.model.xkms.ResultType) ReissueResultType(org.apache.cxf.xkms.model.xkms.ReissueResultType) RevokeResultType(org.apache.cxf.xkms.model.xkms.RevokeResultType) RegisterResultType(org.apache.cxf.xkms.model.xkms.RegisterResultType) Test(org.junit.Test)

Example 2 with ResultType

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);
}
Also used : RegisterRequestType(org.apache.cxf.xkms.model.xkms.RegisterRequestType) RecoverResultType(org.apache.cxf.xkms.model.xkms.RecoverResultType) ResultType(org.apache.cxf.xkms.model.xkms.ResultType) ReissueResultType(org.apache.cxf.xkms.model.xkms.ReissueResultType) RevokeResultType(org.apache.cxf.xkms.model.xkms.RevokeResultType) RegisterResultType(org.apache.cxf.xkms.model.xkms.RegisterResultType) Test(org.junit.Test)

Example 3 with ResultType

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);
}
Also used : RecoverResultType(org.apache.cxf.xkms.model.xkms.RecoverResultType) ResultType(org.apache.cxf.xkms.model.xkms.ResultType) ReissueResultType(org.apache.cxf.xkms.model.xkms.ReissueResultType) RevokeResultType(org.apache.cxf.xkms.model.xkms.RevokeResultType) RegisterResultType(org.apache.cxf.xkms.model.xkms.RegisterResultType) RecoverRequestType(org.apache.cxf.xkms.model.xkms.RecoverRequestType) Test(org.junit.Test)

Example 4 with ResultType

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);
}
Also used : RecoverResultType(org.apache.cxf.xkms.model.xkms.RecoverResultType) ResultType(org.apache.cxf.xkms.model.xkms.ResultType) ReissueResultType(org.apache.cxf.xkms.model.xkms.ReissueResultType) RevokeResultType(org.apache.cxf.xkms.model.xkms.RevokeResultType) RegisterResultType(org.apache.cxf.xkms.model.xkms.RegisterResultType) RecoverRequestType(org.apache.cxf.xkms.model.xkms.RecoverRequestType) Test(org.junit.Test)

Aggregations

RecoverResultType (org.apache.cxf.xkms.model.xkms.RecoverResultType)4 RegisterResultType (org.apache.cxf.xkms.model.xkms.RegisterResultType)4 ReissueResultType (org.apache.cxf.xkms.model.xkms.ReissueResultType)4 ResultType (org.apache.cxf.xkms.model.xkms.ResultType)4 RevokeResultType (org.apache.cxf.xkms.model.xkms.RevokeResultType)4 Test (org.junit.Test)4 RecoverRequestType (org.apache.cxf.xkms.model.xkms.RecoverRequestType)2 RegisterRequestType (org.apache.cxf.xkms.model.xkms.RegisterRequestType)1 RevokeRequestType (org.apache.cxf.xkms.model.xkms.RevokeRequestType)1