VMware Cloud Community
mcssschaefer
Enthusiast
Enthusiast
Jump to solution

Perl / WebService

Hi,

has anyone managed to launch a workflow from perl using the SOAP interface. Any hints?

Thanks in advance,

Stephan

http://blog.mightycare.de http://www.mightycare.de
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

Hi Stephan,

hope there will be feedbacks to the community in the future Smiley Happy

Her is the code (for getAllWorkflows method):

#!/usr/bin/perl

use strict;
use diagnostics;
use warnings;
use Data::Dumper;
eval {
  require SOAP::Lite;
};
die "Fehler:\n$@\n\n" if $@;
my $soap = SOAP::Lite->new();
print Dumper($service->getAllWorkflows('USERNAME', 'PASSWORD'));

You have to ensure that the SOAP Lite module is available, if not just install it. Please note that you need certificate handling if you use the https way.

Screen shot 2011-07-21 at 7.21.49 PM.png

best regards

Christian

View solution in original post

0 Kudos
2 Replies
admin
Immortal
Immortal
Jump to solution

Hi Stephan,

hope there will be feedbacks to the community in the future Smiley Happy

Her is the code (for getAllWorkflows method):

#!/usr/bin/perl

use strict;
use diagnostics;
use warnings;
use Data::Dumper;
eval {
  require SOAP::Lite;
};
die "Fehler:\n$@\n\n" if $@;
my $soap = SOAP::Lite->new();
print Dumper($service->getAllWorkflows('USERNAME', 'PASSWORD'));

You have to ensure that the SOAP Lite module is available, if not just install it. Please note that you need certificate handling if you use the https way.

Screen shot 2011-07-21 at 7.21.49 PM.png

best regards

Christian

0 Kudos
mcssschaefer
Enthusiast
Enthusiast
Jump to solution

Hi CHristian,

thank you, exactly what i needed. And there will be some feedbacks to the community in the near future. That's for sure. 🙂

Best regards,

Stephan

http://blog.mightycare.de http://www.mightycare.de
0 Kudos