I've recently been curious about the web service API for bugzilla so I
can setup an external tool. I'm running version 3.2r2, and it's hosted
on IIS with the perl CGI handler.
I've installed all the modules (including SOAP-Lite) that the
checksetup.pl has instructed; however, when I post a login method to
/xmlrpc.cgi, I get no response and the client times out.
Bugzilla::Webservice::User
http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/User.html
I also tried the same thing with the version method with the same result.
Bugzilla::WebService::Bugzilla
http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bugzilla.html
So at this point, I'm guessing it has something to do with my bugzilla
configuration. Is there an option or parameter I need to change to
enable the web service calls? Is there a simple way to test the xmlrpc
service?
Thanks in advance.
-Nathan
No, if you have all the modules installed, it should work.
> Is there a simple way to test the xmlrpc service?
There's a script called contrib/bz_webservice_demo.pl that we
know works.
-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
Great! Thanks. I'll take a look at that. I'm sure my client code is just
incorrect. I've used eclipse with it (assuming the Mylyn plugin uses the
same service), and it works fine. I just need to dig into it a bit more.
I think Mylyn *doesn't* use the same service yet, actually.
Hi Nathan,
I am also facing a similar problem, i m using xmlrpc for .net for
connecting to bugzilla webservice, upon calling the version method, i
got timeout error. Even if i run Perl contrib/bz_webservice_demo.pl --
uri http://bugzilla.*.com/xmlrpc.cgi i got the timeout error. How did
u solve ur problem?
Thanks in advance
Waqas
Were you able to ever get xml-rpc working on your setup?
I'm in the same boat. Followed all published instructions for IIS 6,
latest bugzilla, activestate perl 5.10, whatever the latest revs of perl
modules. All other aspects of BZ work fine, except xmlrpc.cgi never
works. 502.1 error shows up in the IIS logs. Doesn't matter if I use the
bz_ demo file from console or remotely access xmlrpc.cgi through a client.
Has BZ's XML-RPC ever worked with IIS?
Cheers,
John
I have no idea. I generally recommend avoiding IIS when possible.