21

I have just installed the Mantis bug tracker to use together with Eclipse IDE and have started too found out the advantages of it. Really great.

Since Eclipse communicates with Mantis through an PHP soap API, I wonder if there's some documentation available on how I can myself make calls, from my PHP application to the API to add new bugs and get statuses of existing ones.

Thanks a lot!

4

2 回答 2

44

我也在寻找这个问题的答案,并认为我会将我的发现添加到这个问题中,这样我以后可以再次找到它们(希望它们也对其他人有用)

SOAP API 的 URL 是$(MANTIS_URI)/api/soap/mantisconnect.php(例如,如果您的 Mantis 通常在http://localhost/mantis/then go 访问http://localhost/mantis/api/soap/mantisconnect.php

它使用 NuSOAP,这意味着如果您将 Web 浏览器指向该 URL,您将获得 Web 服务的 HTML 文档;大多数动作似乎都有合理的名称和对其作用的单行描述。WSDL 可以在以下位置下载$(MANTIS_URI)/api/soap/mantisconnect.php?wsdl,因为我使用的是 C#,所以wsdl.exe在该 URL 上运行为我提供了一个基本的强类型客户端库,用于该服务似乎很容易使用。

于 2010-07-31T10:40:41.920 回答
-5

在使用 php soapCall 函数并逐步浏览代码时,我能够自己解决它。花了很长时间,但至少它成功了......

于 2010-05-31T10:52:29.993 回答