Error: Enable SOAP extension

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Error: Enable SOAP extension

Post by testtools420 »

Hi,

i am having trouble integrating SoapUI with TL. TL is installed on a server and the SoapUI is installed on user's Virtual Machine (VM)

My configurations:

TL configs:
Installation -> Windows Server 2012 R2
php-version -> 5.5.29
MySQL Server -> 5.6
Apache -> 2.4.16

SoapUI configs:
SoapUI -> 5.2.1
Installed on User's VM

Screenshot of the problem: Image

Scenario: I have filled in the example configuration. They are as follows:
<!-- Template mantissoapInterface -->
<issuetracker>
<username>username</username>
<password>PW</password>
<uribase>URI base of the database is given</uribase>
<!-- Configure This if you want be able TO CREATE ISSUES -->
<project>entered name of the project</project>
<category>Entered the category</category>
<!-- Configure This if you want NON STANDARD BEHAIVOUR for considered issue resolved -->
<resolvedstatus>
<status><code>80</code><verbose>resolved</verbose></status>
<status><code>90</code><verbose>closed</verbose></status>
</resolvedstatus>
</issuetracker>

Question: Where do i enable the SOAP extension? in the php.ini config file?

My findings in PHP.ini file is:
; Enables or disables WSDL caching feature.
; http://php.net/soap.wsdl-cache-enabled
soap.wsdl_cache_enabled=1

; Sets the directory name where SOAP extension will put cache files.
; http://php.net/soap.wsdl-cache-dir
soap.wsdl_cache_dir="C:/Bitnami/TESTLI~1.14-/php/tmp"

; (time to live) Sets the number of second while cached file will be used
; instead of original one.
; http://php.net/soap.wsdl-cache-ttl
soap.wsdl_cache_ttl=86400

; Sets the size of the cache limit. (Max. number of WSDL files to cache)
soap.wsdl_cache_limit = 5

They are all related to cache files but not enabling SOAP extension.
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Error: Enable SOAP extension

Post by testtools420 »

There was an information in some forum to enable SOAP in PHP as

; (i.e. semi colon) in the below quote has to be removed in php.ini file
;extension=php_soap.dll
I have done that too and restarted the system for changes to take place but made no difference
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Error: Enable SOAP extension

Post by testtools420 »

Hi guys,

i have an update about my findings but still not successful.
SoapUI <-> Mantis BTS connection:

I have installed SoapUI on Virtual Machine (VM). The following steps were followed to setup a connection between SoapUI & Mantis BTS:
1) The initial WSDL file was inserted when creating a new SOAP project
2) All the necessary information was totally retrieved from the WSDL file.
3) i then navigated to the MantisConnectBinding (testsuite) where under "Service Endpoints" required data were entered (Endpoint, username, PW & domain)
3) Under "Assign Endpoint" tab the corresponding database was chosen
4) Checked the connection in DB Admin side. There were some information being exchanged (But not sure whether a connection to the DB was established) This connection is shown in green dotted (means a pin pong could be established) line in the architecture picture.

If there is any mistake i have done in the above steps, can anyone guide me?

SoapUI <-> TL connection:

In the former posts i have mentioned the procedure. Maybe i am missing something there? The red dotted line in the 1st architecture denotes the struggle to get communication established

In order to understand the connection between Mantis <-> SoapUI <-> TL connection this architecture is used. It might sound wiered to do it on VM but in our company we are not allowed to install ANY SW in the system. That is the reason for VM
Image

The below architecture will be the next step for me to experiment. This makes more sense but i can't do it right now bcoz i need to go with all the correct settings to the server's administrator and enter the details on the server.
Image

Any positive comments (or) critizisation for the working of this functionality is more than welcome and appreciated :)
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Error: Enable SOAP extension

Post by testtools420 »

Logs from TL are as follows:

[<<][56a750f69b0ad288695291][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:56:54][16/Jan/26 10:56:54][took 0.177255 secs]
[>>][56a750f6c70e7376148512][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:56:54]
[<<][56a750f6c70e7376148512][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:56:54][16/Jan/26 10:56:54][took 0.054094 secs]
[<<][56a750f95ea47020419484][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:56:57][16/Jan/26 10:56:57][took 0.14181 secs]
[>>][56a750f981f91606029097][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:56:57]
[<<][56a750f981f91606029097][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:56:57][16/Jan/26 10:56:57][took 0.022331 secs]
[<<][56a75101cd55f721717233][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:05][16/Jan/26 10:57:06][took 0.173493 secs]
[>>][56a7510204acc996082458][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:06]
[<<][56a7510204acc996082458][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:06][16/Jan/26 10:57:06][took 0.020286 secs]
[<<][56a7510217918516321686][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:57:06][16/Jan/26 10:57:06][took 0.152743 secs]
[>>][56a751023decf926605240][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:57:06]
[<<][56a751023decf926605240][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:57:06][16/Jan/26 10:57:06][took 0.03325 secs]
[<<][56a751185079a998156790][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:28][16/Jan/26 10:57:28][took 0.169433 secs]
[>>][56a751187afc6277388852][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:28]
[<<][56a751187afc6277388852][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:28][16/Jan/26 10:57:28][took 0.041789 secs]
[<<][56a7511a75904907760266][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:30][16/Jan/26 10:57:30][took 0.157415 secs]
[>>][56a7511a9cfe4991403521][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:30]
[<<][56a7511a9cfe4991403521][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 10:57:30][16/Jan/26 10:57:30][took 0.015998 secs]
[<<][56a7511aab011529763084][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:57:30][16/Jan/26 10:57:30][took 0.112582 secs]
[>>][56a7511ac70c6293056759][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:57:30]
[<<][56a7511ac70c6293056759][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 10:57:30][16/Jan/26 10:57:30][took 0.0424 secs]
[<<][56a773b409ce1198892473][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:08][16/Jan/26 13:25:08][took 0.174644 secs]
[>>][56a773b435b98873948511][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:08]
[<<][56a773b435b98873948511][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:08][16/Jan/26 13:25:08][took 0.054474 secs]
[<<][56a773bb6d123995173399][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:15][16/Jan/26 13:25:15][took 0.169888 secs]
[>>][56a773bb97624091957851][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:15]
[<<][56a773bb97624091957851][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:15][16/Jan/26 13:25:15][took 0.016349 secs]
[<<][56a773bba70ac454847471][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 13:25:15][16/Jan/26 13:25:15][took 0.105532 secs]
[>>][56a773bbc1ad7075238764][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 13:25:15]
[<<][56a773bbc1ad7075238764][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 13:25:15][16/Jan/26 13:25:15][took 0.051484 secs]
[<<][56a773cedf088464227630][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:34][16/Jan/26 13:25:35][took 0.127466 secs]
[>>][56a773cf0ab69972004494][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:35]
[<<][56a773cf0ab69972004494][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:35][16/Jan/26 13:25:35][took 0.03632 secs]
[<<][56a773d54640b387838807][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:41][16/Jan/26 13:25:41][took 0.204377 secs]
[>>][56a773d578ef5053683617][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:41]
[<<][56a773d578ef5053683617][DEFAULT][/lib/issuetrackers/issueTrackerEdit.php][16/Jan/26 13:25:41][16/Jan/26 13:25:41][took 0.013692 secs]
[<<][56a773d58694f970222135][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 13:25:41][16/Jan/26 13:25:41][took 0.097654 secs]
[>>][56a773d59f2f9643387220][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 13:25:41]
[<<][56a773d59f2f9643387220][DEFAULT][/lib/issuetrackers/issueTrackerView.php][16/Jan/26 13:25:41][16/Jan/26 13:25:41][took 0.028458 secs]

The logs doesn't help much for the problem "you need to enable the SOAP extension"
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Error: Enable SOAP extension

Post by testtools420 »

Hi guys,

update about the solution for this TOPIC

First ignore the post "Posted: Tue Jan 26, 2016 2:16 pm" because i had made a blunder. I guess no one could have thought so cleverly & complicate the situtaion. I misinterpreted "Interface:Soap (Protocol)" as "Interface:SoapUI (Software)". So that post is just a crap. It is a human error because i am trying to implement SoapUI for testing purpose & had this thought throughout.

In this topic i had already posted the solution. The post "Posted: Thu Jan 21, 2016 1:47 pm" is the solution. Here i did a technical mistake thanks to my clever understanding :lol: :lol: . I have mentioned in the post that i restarted the system. Actually i should have restarted the "Apache server" but i restarted my laptop and expected the change to be made on the server. If there is any KUDOS button specially created for high level of brilliance in this forum it can be used for POSTS in this topic :lol: :lol: Feel free to laugh on my cleverness

happy testing guys!!!

Now the functionality works but i have one more question about Interface:Soap

Step 1: i have made the connection to a specific project & category.
Step 2: i have created an issue on TL which was saved on Mantis BTS
Step 3: Checked the Mantis BTS (Issue was not visible on BTS). But this problem could be internal because Mantis BTS is very slow
Question 1: Don't i see the bug created via TL GUI as a hyperlink immeditely after the bug is created on TL GUI?
Question 2: If the answer is NO to question 1 then the procedure is i need to login to Mantis BTS have a look at the Bug ID and enter it in TL via "Add Bug" option. Am I right?
Post Reply