Bugzilla Web Services fun
Posted: June 23, 2009 Filed under: Uncategorized 5 Comments »So if you try to call a method from a module that doesn’t exist in Bugzilla web services (in my case, I was trying to call ‘bugzilla.version’ but I should have been calling ‘Bugzilla.version’) then it will return a really cryptic and unhelpful fault with the text “Can’t call method “login_exempt” on an undefined value at Bugzilla/WebService/Server.pm line 25″. Just in case anyone else runs into this.
Also, you must use https://bugzilla.mozilla.org/xmlrpc.cgi, not http://bugzilla.mozilla.org/xmlrpc.cgi or it will return a 411 error.
Yeah, that should be a clearer error, in both cases. I wasn’t actually even sure what caused the 411, thanks for pointing that out.
hi Harthur,
I’m trying to integrate bugzilla and HP QC .. i’m asked to use the webservices of bugzilla n have to code in java. I’m a fresher , this being my first project is vey important for me .. plz guide me thru..
hi Anitha, you probably want to look for a Java XML-RPC library to interface with Bugzilla’s XML-RPC API http://www.bugzilla.org/docs/3.0/html/api/
Thanks a lot, http instead of https caused me a lot of trouble and many problems with 411. Thanks…
Saved me some digging, thanks!