diff --git a/components/org.wso2.carbon.identity.recovery.endpoint/src/main/webapp/WEB-INF/web.xml b/components/org.wso2.carbon.identity.recovery.endpoint/src/main/webapp/WEB-INF/web.xml
index b59b40c6b2..2aa9c6350d 100644
--- a/components/org.wso2.carbon.identity.recovery.endpoint/src/main/webapp/WEB-INF/web.xml
+++ b/components/org.wso2.carbon.identity.recovery.endpoint/src/main/webapp/WEB-INF/web.xml
@@ -9,11 +9,6 @@
WSO2 Identity Server Recovery REST API
WSO2 Identity Server Recovery REST API
-
- contextConfigLocation
- WEB-INF/beans.xml
-
-
CaptchaFilter
org.wso2.carbon.identity.captcha.filter.CaptchaFilter
@@ -63,18 +58,39 @@
FORWARD
-
-
- org.springframework.web.context.ContextLoaderListener
-
-
-
CXFServlet
- org.apache.cxf.transport.servlet.CXFServlet
+ org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
1
+
+
+ jaxrs.serviceClasses
+
+ org.wso2.carbon.identity.recovery.endpoint.ClaimsApi,
+ org.wso2.carbon.identity.recovery.endpoint.RecoverPasswordApi,
+ org.wso2.carbon.identity.recovery.endpoint.RecoverUsernameApi,
+ org.wso2.carbon.identity.recovery.endpoint.SecurityQuestionApi,
+ org.wso2.carbon.identity.recovery.endpoint.SecurityQuestionsApi,
+ org.wso2.carbon.identity.recovery.endpoint.SetPasswordApi,
+ org.wso2.carbon.identity.recovery.endpoint.ValidateAnswerApi,
+ org.wso2.carbon.identity.recovery.endpoint.ValidateCodeApi,
+ org.wso2.carbon.identity.recovery.endpoint.CaptchaApi
+
+
+
+ jaxrs.address
+ /
+
+
+ jaxrs.providers
+
+ com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider,
+ org.wso2.carbon.identity.recovery.endpoint.filter.ResponseValidationFilter,
+ org.wso2.carbon.identity.recovery.endpoint.Exceptions.RecoveryEndpointExceptionMapper
+
+
diff --git a/components/org.wso2.carbon.identity.user.endpoint/src/main/webapp/WEB-INF/web.xml b/components/org.wso2.carbon.identity.user.endpoint/src/main/webapp/WEB-INF/web.xml
index 4b03219e0a..be8613840e 100644
--- a/components/org.wso2.carbon.identity.user.endpoint/src/main/webapp/WEB-INF/web.xml
+++ b/components/org.wso2.carbon.identity.user.endpoint/src/main/webapp/WEB-INF/web.xml
@@ -9,11 +9,6 @@
WSO2 Identity Server User REST API
WSO2 Identity Server User REST API
-
- contextConfigLocation
- WEB-INF/beans.xml
-
-
CaptchaFilter
org.wso2.carbon.identity.captcha.filter.CaptchaFilter
@@ -63,18 +58,37 @@
FORWARD
-
-
- org.springframework.web.context.ContextLoaderListener
-
-
-
CXFServlet
- org.apache.cxf.transport.servlet.CXFServlet
+ org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
1
+
+
+ jaxrs.serviceClasses
+
+ org.wso2.carbon.identity.user.endpoint.IntrospectCodeApi,
+ org.wso2.carbon.identity.user.endpoint.LiteApi,
+ org.wso2.carbon.identity.user.endpoint.MeApi,
+ org.wso2.carbon.identity.user.endpoint.PiInfoApi,
+ org.wso2.carbon.identity.user.endpoint.ResendCodeApi,
+ org.wso2.carbon.identity.user.endpoint.UpdateUsernameApi,
+ org.wso2.carbon.identity.user.endpoint.ValidateCodeApi,
+ org.wso2.carbon.identity.user.endpoint.ValidateUsernameApi
+
+
+
+ jaxrs.address
+ /
+
+
+ jaxrs.providers
+
+ com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider,
+ org.wso2.carbon.identity.user.endpoint.exceptions.UserEndpointExceptionMapper
+
+