Hi folks!
Version: - TestLink 1.9 (Prague)
- JIRA 4
I did the following steps in order to configure JIRA integration via SOAP:
1. Configure JIRA info to the jirasoap.cfg.php config file in the following way.
//-----------------------------------------------------------------------------------------
/** The Username being used by JIRA logon */
define('BUG_TRACK_USERNAME', 'myuser');
/** The Password being used by JIRA logon*/
define('BUG_TRACK_PASSWORD', 'mypassword');
/** link of the web server for JIRA*/
define('BUG_TRACK_HREF',"https://jira/");
/** path of JIRA WSDL */
define('BUG_TRACK_SOAP_HREF', "rpc/soap/jirasoapservice-v2?wsdl");
/** link of the web server for jira ticket*/
define('BUG_TRACK_SHOW_BUG_HREF', "browse/");
/** link of the web server for creating new jira ticket*/
define('BUG_TRACK_ENTER_BUG_HREF',"secure/CreateIssue.jspa");
//-------------------------------------------------------------------------------------------
2. Added $g_interface_bugs='JIRASOAP'; to the custom_config.inc.php file
3. Restarted apache
As a resul I got the following exception when I click on some test case in test execution window:
Fatal error: Uncaught SoapFault exception: WSDL SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://jira/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "https://jira/rpc/soap/jirasoapservice-v2?wsdl" in C:\xampp\htdocs\testlink-1.9\lib\bugtracking\int_jirasoap.php:63 Stack trace: #0 C:\xampp\htdocs\testlink-1.9\lib\bugtracking\int_jirasoap.php(63): SoapClient->SoapClient('https://jira/rp...') #1 C:\xampp\htdocs\testlink-1.9\lib\bugtracking\int_bugtracking.php(371): jirasoapInterface->jirasoapInterface() #2 C:\xampp\htdocs\testlink-1.9\lib\execute\execSetResults.php(86): require_once('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\testlink-1.9\lib\bugtracking\int_jirasoap.php on line 63
Could anybody help me to solve my problem?
Thanks in advance!
Sonia
[RESOLVED] Testlink 1.9 and JIRA 4 configuration problems
Moderators: Amaradana, TurboPT, TL Developers
Re: Testlink 1.9 and JIRA 4 configuration problems
Hi,
are you sure you activated the soap interface in jira?
with the old metho in testlink (which should still work when I'm correct my we didn't accomplish to get it to work yet) you only had to use the jira-DB user in testlink - so no soap involved.
when you configure testlink 1.9 to use jira soap you have to activate this feature in jira (both in the general settings an in the plugin section).
We are still having troubles to get it all to work though but maybe this is where your problem is right now
are you sure you activated the soap interface in jira?
with the old metho in testlink (which should still work when I'm correct my we didn't accomplish to get it to work yet) you only had to use the jira-DB user in testlink - so no soap involved.
when you configure testlink 1.9 to use jira soap you have to activate this feature in jira (both in the general settings an in the plugin section).
We are still having troubles to get it all to work though but maybe this is where your problem is right now

Re: Testlink 1.9 and JIRA 4 configuration problems
Hi, were you able to resolve this issue, if so could you let me know how. We have the same issue here. I know for sure that JIRA soap is active and also testlink code works fine, since I have tested it on another installation.
Re: Testlink 1.9 and JIRA 4 configuration problems
are you able to get the WSDL with your browser ?
Re: Testlink 1.9 and JIRA 4 configuration problems
Hi fman, I did a wget from my testlink server and I was able to get the xml. There seems to be no issues with firewall etc.
Re: Testlink 1.9 and JIRA 4 configuration problems
1. Can you try with HTTP not HTTPS ? maybe this is the issue.
2. try to install soapUI and do some test with this tool.
3. give a look to https://bugs.php.net/bug.php?id=31050
2. try to install soapUI and do some test with this tool.
3. give a look to https://bugs.php.net/bug.php?id=31050
Re: Testlink 1.9 and JIRA 4 configuration problems
[Resolved]
The information on this link https://bugs.php.net/bug.php?id=31050 as per your previous post helped. Thanks.
In summary it was a problem with php / apache permission.
Doing the following worked:
$setsebool -P httpd_can_network_connect on
The information on this link https://bugs.php.net/bug.php?id=31050 as per your previous post helped. Thanks.
In summary it was a problem with php / apache permission.
Doing the following worked:
$setsebool -P httpd_can_network_connect on