XML-RPC communication to Roundup tracker

10 views
Skip to first unread message

Ewald

unread,
Aug 2, 2011, 8:26:34 AM8/2/11
to JSON/XML-RPC Client and Server Implementations
I'm trying to access a Roundup bug tracker (on my local machine) via
its xml-rpc interface.

This is the code I have thus far

var service = new rpc.ServiceProxy("demo:demo@localhost:8917/demo/", {
asynchronous: true, //default value, but if otherwise error raised
protocol: "XML-RPC",//default value, but if otherwise error raised
sanitize: false, //explicit false required, otherwise error raised
methods: ['list'] //explicit list required, otherwise error raised
// callbackParamName: 'callback'
});

var users = service.list(Array('issues'));

This gives me the error 'Malformed XML Document'

I'm very new to Javascript and web dev stuff so be kind please :D
Reply all
Reply to author
Forward
0 new messages