Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.4 M2
-
Fix Version/s: 1.5 M1
-
Component/s: {Unused} Plugin - Web Services
-
Labels:None
-
keywords:xmlrpc
-
Similar issues:
Description
This refactoring centralizes the setup of the XWiki context that is made available to all XMLRPC methods and allows for its proper setup/cleanup.
The XMLRPC servlet is configured so that the following pattern is used for calling an XMLRPC method:
try {
Setup of the XWiki context.
Actual XMLRPC method invocation through Apache XMLRPC.
}
catch(Exception e) {
Exception handling.
}
finally {
XWiki context cleanup.
}
This code is in the XWikiReflectiveXmlRpcHandler#execute method.