[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] Bugzilla via ECF
|
Hi Pavel,
Samolisov Pavel wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Scott and Everyone.
I'm PhD student and I research distributed informational systems. I can
help with XML-RPC provider for ECF. I think we should implement ECF
Remote Services API
I agree completely with this. Further, I would suggest that an XML-RPC
provider be architected similarly to the recently added REST and SOAP
APIs...as these are not just single providers that expose a single
rest-based or soap-based protocol...but rather additions to the remote
services API. that allow/support the creation/addition of *arbitrary*
remote services using rest-style protocols, or soap-based protocols. I
guess my point is that similar to the REST and SOAP APIs, I believe that
an XML-RPC-based API/provider could support arbitrary remote services
(rather than just Bugzilla's protocol, for example).
For your information, Pavel, the xml-rpc 3.0 bundle is in the Orbit project:
http://download.eclipse.org/tools/orbit/downloads/
You can also access the source via CVS at
dev.eclipse.org:/cvsroot/tools
module: org.eclipse.orbit/org.apache.xmlrpc
The most directly relevant ECF bundles are:
org.eclipse.ecf.remoteservice
org.eclipse.ecf.remoteservice.rest
org.eclipse.ecf.remoteservice.soap
along with dependencies.
for this one and may be R-OSGi via XML-RPC if it is
possible.
I think it is possible to replace the serialization and transport layers
of r-OSGi, although it will probably need to involve Jan and or Markus K
to do so, as I don't have sufficient knowledge of r-OSGi internals to do
so myself.
If you are willing to start in on this, I'll open an enhancement request
for an xml-rpc provider (or you can do so...completely up to
you...please just let everyone know).
Thanks.
Scott
Scott Lewis ??????????:
Hi Razec,
There is currently not an ECF provider based upon XML-RPC. It would be
very easy to create one, given that an XML-RPC (3.0) bundle exists in
Orbit...and such a provider would then allow XML-RPC services to be
exposed as OSGi services...but such a provider doesn't exist currently.
Scott
Mario Ponciano - Razec wrote:
Hi folks,
Someone know if is possible to connect Bugzilla through Eclipse ECF ?
I found with Apache XML-RPC <http://ws.apache.org/xmlrpc/index.html>
but I would like with ECF.
Example with XML-RPC
import org.apache.xmlrpc.XmlRpcException;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
public class EclipseBugzilla {
public static void main(String[] args) throws
MalformedURLException, XmlRpcException {
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new
URL("https://bugs.eclipse.org/bugs/xmlrpc.cgi"));
XmlRpcClient client = new XmlRpcClient();
client.setConfig(config);
Map map = new HashMap();
map.put("login","email@xxxxxxxxx <mailto:email@xxxxxxxxx>");
map.put("password","password");
Map result = (Map) client.execute("User.login", new
Object[]{map});
System.out.println("Result = "+result);
}
}
thanks in advance
// <http://forum.gsmhosting.com/vbb/archive/index.php/t-257112.html>--
[]'s
Mario Cezar Ponciano - a.k.a Razec
http://razec.wordpress.com
mrazec@xxxxxxxxx <mailto:mrazec@xxxxxxxxx>
Linux User: 443515
------------------------------------------------------------------------
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev
- --
Pavel Samolisov
Meet me at:
Vkontakte.ru: http://vkontakte.ru/id3178981
Blog: http://samolisov.blogspot.com
Twitter: http://twitter.com/samolisov
XMPP/Jabber: samolisov@xxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuag8kACgkQ20T0Vos3rqBJbQCdGhqVpLqVzVNyqt1D9vF5nOtk
zOcAn36ldIVUzcFmvO4qeKJGoMQV5OGQ
=Gvah
-----END PGP SIGNATURE-----
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev