2017-04-22 132 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>