Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Bugzilla via ECF

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



Back to the top