We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(7)
我知道这个话题有点老了,但很可能有同样问题的人会在这里找到答案,我想分享一篇我写的关于四个 Java 客户端库的博客文章,这些库是我发现用于访问 Bugzilla 的:J2Bugzilla、B4J(Bugzilla)对于 Java)、Bugzilla 库、LightingBugAPI。
http://www.dzone.com/links/r/bugzilla_web_service_and_java_client_libraries.html
此致,
南达那
I know this is a bit old thread but as it is quite possible that people with the same question could land up here I thought of sharing a blog post I wrote about four Java client libraries that I found for accessing Bugzilla: J2Bugzilla, B4J (Bugzilla for Java), Bugzilla Library, LightingBugAPI.
http://www.dzone.com/links/r/bugzilla_web_service_and_java_client_libraries.html
Best Regards,
Nandana
Apache WS XML-RPC(现在太拗口了!)您可以使用的完整 XML-RPC 实现。 我不太了解 BugZilla,但假设它支持 XML-RPC,那么使用我刚刚链接的那些可怕的内容应该不会有任何问题。
There's Apache WS XML-RPC (now that's a mouthful!) which is a full XML-RPC implementation that you could use. I don't know BugZilla that well but assuming it supports XML-RPC, there shouldn't be any issues using the monstrous mouthful I just linked.
该库/API 称为 JAX-WS(或 JAXB),可让您调用任何性质的 WS。 获取模式,生成 Bean 和代理,然后调用它们。
The library/API is called JAX-WS (or JAXB), and lets you call WS of any nature. Get the schema, generate the beans and proxies, call them.
这是一个通过 Java 使用 bugzilla api 的简单示例。
http://codehelpline.blogspot.com/ 2010/08/如何访问-bugzilla-webservice-api.html
Here's a simple example for using bugzilla api with Java..
http://codehelpline.blogspot.com/2010/08/how-to-access-bugzilla-webservice-api.html
这是 4 的很好的比较Bugzilla API 库,作者:Nandana Mihindukulasooriya,我从中摘录:
Here is a nice comparison of 4 Bugzilla API libraries by Nandana Mihindukulasooriya, from which I excerpt:
还有 Mylyn,它应该在 Eclipse 之外独立运行。 然而,我还没有设法将它独立出来。 您可以尝试一下我自己的 Bugzilla Java API,它试图满足最紧迫的需求:http://techblog.ralph-schuster.eu/b4j-bugzilla-for-java/
There is also Mylyn which is supposed to run stand-alone outside Eclipse. However, I did not manage yet to have it stand-alone. You can give a try to my own Bugzilla Java API which tries to cover the most urgent needs: http://techblog.ralph-schuster.eu/b4j-bugzilla-for-java/
Mylyn 可能是您不错的选择。
如果您需要更简单的设置或更好地控制事情的发生方式,您可以编写自己的 XML-RPC 调用来 Bugzilla Web 服务接口。 我在博客上总结了该过程: 使用 Apache XML-RPC 从 Java 与 Bugzilla 聊天。
总结一下:
然后使用以下类作为基类(它处理 cookie 等)并覆盖它:
通过提供自定义构造函数和覆盖该类通过添加方法:
Mylyn could be a good choice for you.
If you need simpler setup or better control of how things happen, you can write your own XML-RPC calls to Bugzilla web-service interface. I have summarized the process on my blog: Chat to Bugzilla from Java using Apache XML-RPC.
To sum it up:
Then use following class as a base class (it handles cookies etc.) and override it:
Override the class by providing custom constructor and by adding methods: