diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java index b25318a4b01..a972df9826e 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java @@ -54,7 +54,7 @@ public class RemoteSessionServiceImpl implements RemoteSessionService { if (deviceManagementConfig != null) { RemoteSessionConfiguration remoteSessionConfiguration = deviceManagementConfig.getRemoteSessionConfiguration(); if (remoteSessionConfiguration != null) { - boolean isEnabled = remoteSessionConfiguration.getIsEnabled(); + boolean isEnabled = remoteSessionConfiguration.isEnabled(); sessionInfo.setEnabled(isEnabled); if (isEnabled) { sessionInfo.setServerUrl(remoteSessionConfiguration.getRemoteSessionServerUrl()); diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml index 482544fabcb..e1e2c46e8ca 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml @@ -81,7 +81,7 @@ - + @@ -101,4 +101,4 @@ - + \ No newline at end of file