Manvendra Baghel wrote: > Hi friends > I am working on turbine 2.3 based application > Brihaspati e learning system . > I have to implement xml rpc in my application > I have 3 questions ::::: > (1) How to overide doPost() method of Turbine Servlet
Hi, you shouldn't need to override doPost(). Can you give more details about what you need to do exactly? > (2) How to disable all requests from > "org.apache.turbine.services.xmlrpc.util.FileTransfer" > get() send() and remove() methods Are you trying to add an additional class? All that you need to do is write a simple class and let the xmlrpc service know about it in the TurbineResources.properties file: services.XmlRpcService.handler.combobox = com.company.app.util.XmlRpcCombobox Java Introspection is used to find out what methods the class has. If you want to disable the FileTransfer service, comment it out in you TurbineResources.properties file. > (3)FileTransfer methods get() /remove() work fine > with URL http://localhost:12345/ > but connection is refused when m/c IP address is > specified... ie http://123.54.65.7:12345/ Do you have lines like the following in your TurbineResources.properties file? Try setting acceptClient to something less restrictive. services.XmlRpcService.acceptClient = 127.0.0.1 services.XmlRpcService.denyClient = becomes services.XmlRpcService.acceptClient = 123.54.65.7 services.XmlRpcService.denyClient = Hope that helps, mch -- Matt Hughes + [EMAIL PROTECTED] + http://spacemonkeys.ca/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
