Connecting to Spiratest with PERL

Wednesday, December 18, 2013
Avatar
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
Friday, December 20, 2013
Avatar
re: michaell Wednesday, December 18, 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

Monday, December 23, 2013
Avatar
re: inflectra.david Friday, December 20, 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...



Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, December 18, 2013
  • Last Reply: Monday, December 23, 2013
  • Replies: 2
  • Views: 7588