首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >与mantis的testlink集成(接口:SOAP)

与mantis的testlink集成(接口:SOAP)
EN

Stack Overflow用户
提问于 2017-04-22 13:25:48
回答 2查看 725关注 0票数 1

我已经在wamp服务器3.0.6上安装了testlink 1.9.16和mantis bugtracker 2.3.1。

我试图在soap接口上集成螳螂和teslink。但我发现了这些错误:

-in testlink events : "SOAP错误:(代码: Client,string:看起来我们没有XML文档)“

-in C:\wamp64\logs\php_error.log :

代码语言:javascript
复制
[22-Apr-2017 13:06:53 UTC] PHP Fatal error:  Uncaught SoapFault exception: [Server] Error Type: SYSTEM WARNING,
Error Description: Cannot modify header information - headers already sent in C:\wamp64\www\mantis\api\soap\mc_api.php:668
Stack trace:

    #0 [internal function]: mc_error_handler(2, 'Cannot modify h...', 'C:\\wamp64\\www\\m...', 84, Array)
    #1 C:\wamp64\www\mantis\api\soap\mantisconnect.php(84): SoapServer->handle()
    #2 {main}
      thrown in C:\wamp64\www\mantis\api\soap\mc_api.php on line 668

这是我在testlink中对mantisbt的配置:

代码语言:javascript
复制
<!-- Template mantissoapInterface -->
<issuetracker>
<username>administrator</username>
<password>toor</password>
<uribase>http://localhost/mantis/</uribase>

<uriwsdl>http://localhost/mantis/api/soap/mantisconnect.php?wsdl</uriwsdl>
<uriview>http://localhost/mantis/view.php?id=</uriview>
<uricreate>http://localhost/mantis/</uricreate>
<!-- Configure This if you want be able TO CREATE ISSUES -->
<project>demo_bt</project>
<category>selenium</category>

</issuetracker>

有人知道这件事吗?

谢谢。

EN

回答 2

Stack Overflow用户

发布于 2017-07-04 13:36:57

请删除您的配置中的注释并检查。请检查我的配置

代码语言:javascript
复制
<issuetracker>
<username>administrator</username>
<password>admin123</password>
<uribase>http://localhost/mantis/</uribase>
<uriwsdl>http://localhost/mantis/api/soap/mantisconnect.php?wsdl</uriwsdl>
<uriview>http://localhost/mantis/view.php?id=</uriview>
<uricreate>http://localhost/mantis/</uricreate>
<project>Testing</project>
<category>development</category>
<resolvedstatus>
<status><code>80</code><verbose>resolved</verbose></status>
<status><code>90</code><verbose>closed</verbose></status>
</resolvedstatus>
</issuetracker>
票数 0
EN

Stack Overflow用户

发布于 2018-03-24 13:32:54

我解决了这个问题。问题是,我使用了一个api密钥,它属于redmine的管理员,所以我创建了一个新的项目,新成员,我使用了这个新项目经理的api密钥,它现在正在工作。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43559778

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档