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.


Mario Ponciano - Razec wrote:
Hi folks,

Someone know if is possible to connect Bugzilla through Eclipse ECF ?

I found with Apache XML-RPC <> 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("";));

        XmlRpcClient client = new XmlRpcClient();

        Map map = new HashMap();
        map.put("login","email@xxxxxxxxx <mailto:email@xxxxxxxxx>");

Map result = (Map) client.execute("User.login", new Object[]{map});
        System.out.println("Result = "+result);

thanks in advance

// <>--
Mario Cezar Ponciano  - a.k.a Razec
mrazec@xxxxxxxxx <mailto:mrazec@xxxxxxxxx>
Linux User: 443515

ecf-dev mailing list

Back to the top