enable xmlrpc system modul
This commit is contained in:
parent
1e90d15fe2
commit
dcee8e103a
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>XmlRpcServlet</servlet-name>
|
<servlet-name>XmlRpcServlet</servlet-name>
|
||||||
<servlet-class>org.apache.xmlrpc.webserver.XmlRpcServlet</servlet-class>
|
<servlet-class>de.hsadmin.remote.HSXmlRpcServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>enabledForExtensions</param-name>
|
<param-name>enabledForExtensions</param-name>
|
||||||
<param-value>true</param-value>
|
<param-value>true</param-value>
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>XmlRpcServlet</servlet-name>
|
<servlet-name>XmlRpcServlet</servlet-name>
|
||||||
<servlet-class>org.apache.xmlrpc.webserver.XmlRpcServlet</servlet-class>
|
<servlet-class>de.hsadmin.remote.HSXmlRpcServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>enabledForExtensions</param-name>
|
<param-name>enabledForExtensions</param-name>
|
||||||
<param-value>true</param-value>
|
<param-value>true</param-value>
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
|
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>XmlRpcServlet</servlet-name>
|
<servlet-name>XmlRpcServlet</servlet-name>
|
||||||
<servlet-class>org.apache.xmlrpc.webserver.XmlRpcServlet</servlet-class>
|
<servlet-class>de.hsadmin.remote.HSXmlRpcServlet</servlet-class>
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>enabledForExtensions</param-name>
|
<param-name>enabledForExtensions</param-name>
|
||||||
<param-value>true</param-value>
|
<param-value>true</param-value>
|
||||||
|
21
hsarback/src/de/hsadmin/remote/HSXmlRpcServlet.java
Normal file
21
hsarback/src/de/hsadmin/remote/HSXmlRpcServlet.java
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package de.hsadmin.remote;
|
||||||
|
|
||||||
|
import org.apache.xmlrpc.XmlRpcException;
|
||||||
|
import org.apache.xmlrpc.metadata.XmlRpcSystemImpl;
|
||||||
|
import org.apache.xmlrpc.server.PropertyHandlerMapping;
|
||||||
|
import org.apache.xmlrpc.server.XmlRpcHandlerMapping;
|
||||||
|
import org.apache.xmlrpc.webserver.XmlRpcServlet;
|
||||||
|
|
||||||
|
public class HSXmlRpcServlet extends XmlRpcServlet {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected XmlRpcHandlerMapping newXmlRpcHandlerMapping()
|
||||||
|
throws XmlRpcException {
|
||||||
|
XmlRpcHandlerMapping handlerMapping = super.newXmlRpcHandlerMapping();
|
||||||
|
XmlRpcSystemImpl.addSystemHandler((PropertyHandlerMapping) handlerMapping);
|
||||||
|
return handlerMapping;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user