2017-04-22 135 views
1

我已经在wamp服务器3.0.6上安装了testlink 1.9.16和mantis bugtracker 2.3.1。testlink与mantis集成(接口:SOAP)

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

-in TestLink的事件: “SOAP错误:(代码:客户端,字符串:看起来我们有没有XML文档)”

-in C:\ wamp64 \日志\ php_error.log:

[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配置:

<!-- 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> 

有人对此有任何想法吗?

谢谢。

回答

0

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

<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>