> Basically, I want to take existing P2P systems and expose them as local web
> services, so that P2P systems can be used as components and I hope to reduce
> re-inventing the wheel in the P2P world that way. Freenet and Gnutella is my
> first 2 targets.

Both Freenet and Gnutella are already exposed as web services. Both have
an HTTP interface. Freenet has an additional XML-RPC interface. You do
make a case for SOAP, which I'll get to later.

> What I have in mind is actually the same concept as FCP and XML-RPC clients.
> The only difference is that I'm going to use standard web service facility,
> ie. SOAP, WSDL. I don't think it makes sense to have so many client
> protocols in Freenet, so here, I'm asking for people's opinions on moving to
> SOAL/WSDL. (If opinions are positive, I'd be more than happy to do the
> implementation. PCOS will need a Freenet client anyway.)

Realistically, we're not going to abandon FCP and XML-RPC for SOAP. You've
come too late. But adding SOAP access is certainly possible if it is
deemed beneficial.

> When you expose Freenet as a web service, there's no reason you can't let
> people access it remotely. That's the whole point about web service anyway.
> However, PCOS's initial intention is just to do local web services. First,
> it's simpler this way. No security concerns, no nothing. Second, I'd like to
> argue that a P2P system, when allowed to be accessed remotely, is not
> healthy for the system itself (in general).

You're quite in line with the general opinion around here. Remote access
is bad. However, I'm not quite sure what the point of service discovery is
locally. You know whether you have the service installed or not since you
would have installed it yourself.

The only advantage to adding a SOAP interface since we already have an
XML-RPC interface is WSDL and the host of other SOAP-oriented discovery
mechanisms. So the crux of the arguement for adding a SOAP binding is the
usefulness of local service discovery. I'd be very interested to hear your
thoughts on the matter.




_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to