* Description: Manage call - disable/enable service<br>
* Expectation: passes
*/
@Test
public void t01_ManageCallDisableEnableService() throws Exception {
SCMPManageCall manageCall = new SCMPManageCall(this.requester);
TestCallback cbk = new TestCallback();
// disable service
manageCall.setRequestBody(Constants.CC_CMD_DISABLE + Constants.QUESTION_MARK + Constants.SERVICE_NAME
+ Constants.EQUAL_SIGN + TestConstants.sesServerName1);
manageCall.invoke(cbk, 1000);
SCMPMessage result = cbk.getMessageSync(3000);
TestUtil.checkReply(result);
// try to create a session on disabled service - should fail
SCMPMessage fault = this.clnCreateSession();
TestUtil.verifyError(fault, SCMPError.SERVICE_DISABLED, SCMPMsgType.CLN_CREATE_SESSION);
// enable service
manageCall.setRequestBody(Constants.CC_CMD_ENABLE + Constants.QUESTION_MARK + Constants.SERVICE_NAME + Constants.EQUAL_SIGN
+ TestConstants.sesServerName1);
manageCall.invoke(cbk, 1000);
result = cbk.getMessageSync(3000);
TestUtil.checkReply(result);
}