[SOLVED] - Jira configuration - JIRASOAP

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
renjithgm
TestLink user
Posts: 10
Joined: Fri Feb 18, 2011 5:24 am

[SOLVED] - Jira configuration - JIRASOAP

Post by renjithgm »

I have testlink 1.9.3 installed on a Linux box and i am trying to integrate to Jira 4.4 using Jirasoap . i have filled in the Jirasoap.cfg.php with the information on the Jira server , user id and Pswd etc and also have enabled the $g_interface_bugs = 'JIRASOAP' in the config.inc.php . After when i click on test execution and select a test cases . I see a blank frame( test case ). Also some of the report pages like shows blank . I don't see any error message in the event log or even in logs .
I even tried navigating to the jira link adding the " rpc/soap/jirasoapservice-v2?wsdl" and i am able to see the xml page .
Can you please help me here ?
ALso is there a way to turn on more debugging information ?
renjithgm
TestLink user
Posts: 10
Joined: Fri Feb 18, 2011 5:24 am

Re: Jira configuration - JIRASOAP

Post by renjithgm »

After configuring theJIRASOAP i dont see any error in the logs or in the event but still the test cases details frame is Blank . Can someone provide me a pointer to add more debugging information so that i can proceed on this .
renjithgm
TestLink user
Posts: 10
Joined: Fri Feb 18, 2011 5:24 am

Re: Jira configuration - JIRASOAP

Post by renjithgm »

After so much looking around the system . I could find this from Apache log

PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://XXXX.XXXXX/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "http://XXX.XXXX/rpc/soap/jirasoapservice-v2?wsdl"\n in /var/www/testlinkNew/lib/bugtracking/int_jirasoap.php on line 63, referer: http://XXX.XXX.XX/testlinkNew/lib/execu ... igator.php
[Mon Feb 20 15:20:43 2012] [error] [client 10.252.248.235] PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://XXX.XXXXX/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "http://XXX.XXX.XX/rpc/soap/jirasoapservice-v2?wsdl"\n in /var/www/testlinkNew/lib/bugtracking/int_jirasoap.php:63\nStack trace:\n#0 /var/www/testlinkNew/lib/bugtracking/int_jirasoap.php(63): SoapClient->SoapClient('http://xcjira.c...')\n#1 /var/www/testlinkNew/lib/bugtracking/int_bugtracking.php(371): jirasoapInterface->jirasoapInterface()\n#2 /var/www/testlinkNew/lib/execute/execSetResults.php(89): require_once('/var/www/testli...')\n#3 {main}\n thrown in /var/www/testlinkNew/lib/bugtracking/int_jirasoap.php on line 63, referer: http://XXX.XXX.XXX/testlinkNew/lib/exec ... igator.php

Checked JIRA configration and Plugin , SOAP is enabled .I am able to see the XML when i enter the URL in the browser
Any pointers ?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira configuration - JIRASOAP

Post by fman »

see http://www.teamst.org/forum/viewtopic.p ... t=JIRASOAP
NO SOLUTION but same problem => may be you can contact user.

Seems here there is a solution
http://www.teamst.org/forum/viewtopic.p ... 222#p12832

have you done some searchs here and on mantis ?

PLEASE CONFIRM if you are able to solve and HOW (this will be useful for other people and we will add it to FAQ section)
renjithgm
TestLink user
Posts: 10
Joined: Fri Feb 18, 2011 5:24 am

Re: Jira configuration - JIRASOAP

Post by renjithgm »

I was able to resolve this issue , this was probably because the testlink server was not able to resolve the JIRA instance by name . Added the IP of the JIRA instance for define('BUG_TRACK_HREF') solved the problem.
greaze
Advanced user
Posts: 25
Joined: Mon Dec 08, 2008 4:03 pm

Re: [SOLVED] - Jira configuration - JIRASOAP

Post by greaze »

Hi, I know this is not a problem with Testlink code but it is more to do with our server where we have installed Testlink 1.9.3 on CentOS / Apache / Php 5.3.3
Please can someone have a look at the error below and advise what I need to do to fix it? The problem does not exist on the installation of Testlink on my local pc running windows7 / XAMPP.

[error] [client 10.120.100.136] PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://jiraserver/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "http://jiraserver/rpc/soap/jirasoapservice-v2?wsdl"\n in /var/www/html/testlink/lib/bugtracking/int_jirasoap.php:63\nStack trace:\n#0 /var/www/html/testlink/lib/bugtracking/int_jirasoap.php(63): SoapClient->SoapClient('http://jira....')\n#1 /var/www/html/testlink/lib/bugtracking/int_bugtracking.php(371): jirasoapInterface->jirasoapInterface()\n#2 /var/www/html/testlink/lib/execute/execSetResults.php(89): require_once('/var/www/html/t...')\n#3 {main}\n thrown in /var/www/html/testlink/lib/bugtracking/int_jirasoap.php on line 63, referer: http://testlinkserver/testlink/lib/exec ... igator.php
renjithgm
TestLink user
Posts: 10
Joined: Fri Feb 18, 2011 5:24 am

Re: [SOLVED] - Jira configuration - JIRASOAP

Post by renjithgm »

Are you able to reach you Jira instance from the testlink box with the URL specified in the (BUG_TRACK_HREF')
kam2012
Advanced user
Posts: 27
Joined: Mon Feb 13, 2012 9:55 pm

Re: [SOLVED] - Jira configuration - JIRASOAP

Post by kam2012 »

Hi All,

I am facing similar issue with JIRASOAP configuration on red hat linux. Blank page diaplyed when JIRA soap configured.

As mentioned in one the post...I have added the IP of the JIRA instance for define('BUG_TRACK_HREF') however the issue is still exists.

Please provide me any pointers to resolve this issue.

Thanks in advance.

Regards,
Kamlesh
renjithgm
TestLink user
Posts: 10
Joined: Fri Feb 18, 2011 5:24 am

Re: [SOLVED] - Jira configuration - JIRASOAP

Post by renjithgm »

did you check if your Jira soap URL - "http://XXX.XXXX/rpc/soap/jirasoapservice-v2?wsdl" is returning you some value ?
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: [SOLVED] - Jira configuration - JIRASOAP

Post by Martens »

I have the same problem. The URL works on the machine but under TestLink (1.9.5) it won't do.

Here my IssueTrackerConf:
<issuetracker>
<username>X</username>
<password>Y</password>
<uribase>https://XXX.XXX/jira/</uribase>
<uriwsdl>https://XXX.XXX/jira/rpc/soap/jirasoaps ... l</uriwsdl>
<uriview>https://XXX.XXX/jira/browse/</uriview>
<uricreate>https://XXX.XXX/jira/secure/CreateIssue ... /uricreate>
<projectkey>ZOFF</projectkey>
</issuetracker>

This is the error log:
SOAP Fault: (code: WSDL, string: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://XXX.XXX/jira/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "https://XXX.XXX/jira/rpc/soap/jirasoapservice-v2?wsdl" )

The JIRA version is: v4.3.3#617-r149616

I tried with http instead of https and the error than is:
__CLASS_ - SOAP Fault: (code: HTTP, string: Error Fetching http headers)

Any help?

Thanks David
Martens
TestLink user
Posts: 8
Joined: Thu Oct 04, 2007 4:47 pm

Re: [SOLVED] - Jira configuration - JIRASOAP

Post by Martens »

I found the problem. In the XAMPP installation I had to activate the openssl extention.
Post Reply