Thread

Skip Navigation LinksForums > SpiraTest Forums > SpiraTest Best Practices > Connecting to Spiratest w...

Connecting to Spiratest with PERL RSS Feed

Wednesday, December 18, 2013
Hi,

Can you give example how connect to spiratest with PERL?

my $user = "username";
my $pass = "password";


my $schema_uri = 'http://<MYSERVER>.com/SpiraTest/Services/v3_0/ImportExport.svc?wsdl';
my $client = SOAP::Lite->new;
my $response = $client->service($schema_uri)
                          ->Connection_Authenticate($user,$pass);
                          
I get this error
Service description '.../SpiraTest/Services/v3_0/ImportExport.svc?wsdl' can't be loaded: 503 Service Unavailable

Thanks for your time



2 Replies
Adam SAdam S
re: Michael Long on Wednesday, December 18, 2013
Friday, December 20, 2013

Hi Michael

If you put the same URL into a web browser, does it display the WSDL file?

If not, for the most timely response, could you send us a help desk ticket so that we can better assist.

Then we can post the answer on this forum for others to read.

Regards

Adam

Michael LongMichael Long
re: Adam S on Friday, December 20, 2013
Monday, December 23, 2013
ok, will do later.

The wsdl link works but I could not get it to work with soap::lite. I go the connection using xml::compile::wsdl11 but after I get the connection_authe... back with true value and I am not able to run any
other commands. For example if I run connecttoproject (spellcheck on that function) it says I must run connection_aunthentice... It would be nice to have some working examples.

Example of soap::lite in perl tab module on this site will not run with latest perl on windows . Some thing deprec...



Tagged
Statistics
  • Started: 12/18/2013
  • Last Reply: 12/23/2013
  • Replies: 2
  • Views: 5172
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.