You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Hristo Kosev <hk...@hotmail.com> on 2001/04/29 21:57:51 UTC

Using XmlRpc service

Hi,
Are there any examples of using the XML-RPC service within Turbine?
Do I have to instantiate some XML-RPC Server or does this service do
that? Do I have to put the class which methods I call in some special
directory and how I construct the url string from which I should call
my methods considering the "services.TurbineXmlRpcService.port" property
in TurbineResources.properties file?

Thanks in advance for any ..and all advices.

Hristo Kosev
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Using XmlRpc service

Posted by Jason van Zyl <jv...@apache.org>.
Hristo Kosev wrote:
> 
> Hi,
> Are there any examples of using the XML-RPC service within Turbine?
> Do I have to instantiate some XML-RPC Server or does this service do
> that? 

The service takes care of that. All you need to do is your specific
handlers. There is a FileTransfer handle that is used for some b2b
functionality in Tambora but it is generally useful and there is a test
class in the org.apache.turbine.services.xmlrpc.util package if
you want to see how it works.

> Do I have to put the class which methods I call in some special
> directory and how I construct the url string from which I should call
> my methods considering the "services.TurbineXmlRpcService.port" property
> in TurbineResources.properties file?

The classes which you want to use as handlers must be present
in the classpath and they must be specified in your TR.props
file. There is an example using the FileHandler used for transering
files between Turbine apps in the TR.props. This example works well
and is in a production version of Tambora so it should be a good
start for anything your doing.

> 
> Thanks in advance for any ..and all advices.
> 
> Hristo Kosev
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

-- 
jvz.

Jason van Zyl
jvanzyl@apache.org

http://jakarta.apache.org/velocity
http://jakarta.apache.org/turbine
http://jakarta.apache.org/commons
http://tambora.zenplex.org

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org